File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ mainDir=app/src/main
6
6
resDir =$(mainDir ) /res
7
7
jniDir =$(mainDir ) /jni
8
8
9
- .PHONY : all clean build debug spotlessCheck spotlessApply clang-format-lint clang-format style-lint style-apply release install opencc-data translate ndk android
9
+ .PHONY : all clean build debug spotlessCheck spotlessApply clang-format-lint clang-format style-lint style-apply release install translate ndk android
10
10
11
11
all : release
12
12
56
56
git-cliff -o CHANGELOG.md
57
57
58
58
TRANSLATE =$(resDir ) /values-zh-rCN/strings.xml
59
- release : opencc-data style-lint
59
+ release : style-lint
60
60
./gradlew assembleRelease
61
61
62
62
install : release
@@ -69,20 +69,6 @@ $(TRANSLATE): $(resDir)/values-zh-rTW/strings.xml
69
69
70
70
translate : $(TRANSLATE )
71
71
72
- opencc-data : srcDir = $(jniDir ) /OpenCC/data
73
- opencc-data : targetDir = $(mainDir ) /assets/shared/opencc
74
- opencc-data :
75
- @echo " copy opencc data"
76
- @rm -rf $(targetDir )
77
- @mkdir -p $(targetDir )
78
- @cp $(srcDir ) /dictionary/* .txt $(targetDir ) /
79
- @cp $(srcDir ) /config/* .json $(targetDir ) /
80
- @rm $(targetDir ) /TWPhrases* .txt
81
- @python $(srcDir ) /scripts/merge.py $(srcDir ) /dictionary/TWPhrases* .txt $(targetDir ) /TWPhrases.txt
82
- @python $(srcDir ) /scripts/reverse.py $(targetDir ) /TWPhrases.txt $(targetDir ) /TWPhrasesRev.txt
83
- @python $(srcDir ) /scripts/reverse.py $(srcDir ) /dictionary/TWVariants.txt $(targetDir ) /TWVariantsRev.txt
84
- @python $(srcDir ) /scripts/reverse.py $(srcDir ) /dictionary/HKVariants.txt $(targetDir ) /HKVariantsRev.txt
85
-
86
72
ndk :
87
73
(cd $( mainDir) ; ndk-build)
88
74
You can’t perform that action at this time.
0 commit comments