Skip to content
This repository was archived by the owner on Feb 4, 2020. It is now read-only.

Commit 3ea298e

Browse files
committed
Uncompress words file
1 parent 174050f commit 3ea298e

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,12 @@ play {
9595
uploadImages = true
9696
}
9797

98+
task uncompressTextFiles(type:Exec) {
99+
commandLine "bunzip2", "-k", "dictionary/glwiki-20180220-pages-articles.txt.bz2"
100+
}
101+
98102
task parseTextInputFiles(type: GenerateWordsListTask) {
103+
dependsOn uncompressTextFiles
99104
inputFiles new File(project.getProjectDir(), "dictionary/glwiki-20180220-pages-articles.txt")
100105
outputWordsListFile new File(project.getProjectDir(), "dictionary/words_from_texts.xml")
101106
}

dictionary/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
glwiki-20180220-pages-articles.txt

0 commit comments

Comments
 (0)