mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-23 00:06:27 +00:00
Added Crowdin sync task
This commit is contained in:
parent
834c08bb00
commit
9a92d633fd
1 changed files with 7 additions and 0 deletions
|
@ -400,6 +400,13 @@ task updatePrivacy(type: Exec) {
|
|||
commandLine 'sh', '-c', 'pandoc --standalone --metadata title="FairEmail" --css=privacy.css PRIVACY.md -o privacy.html'
|
||||
}
|
||||
|
||||
task updateCrowdin(type: Exec) {
|
||||
// https://crowdin.github.io/crowdin-cli/
|
||||
// https://developer.crowdin.com/configuration-file/
|
||||
workingDir "${rootDir}"
|
||||
commandLine 'sh', '-c', 'crowdin download --branch=master'
|
||||
}
|
||||
|
||||
task downloadPSL(type: Download) {
|
||||
// https://github.com/michel-kraemer/gradle-download-task
|
||||
src "https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat"
|
||||
|
|
Loading…
Reference in a new issue