mirror of https://github.com/M66B/FairEmail.git
Added Crowdin sync task
This commit is contained in:
parent
834c08bb00
commit
9a92d633fd
|
@ -400,6 +400,13 @@ task updatePrivacy(type: Exec) {
|
||||||
commandLine 'sh', '-c', 'pandoc --standalone --metadata title="FairEmail" --css=privacy.css PRIVACY.md -o privacy.html'
|
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) {
|
task downloadPSL(type: Download) {
|
||||||
// https://github.com/michel-kraemer/gradle-download-task
|
// https://github.com/michel-kraemer/gradle-download-task
|
||||||
src "https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat"
|
src "https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat"
|
||||||
|
|
Loading…
Reference in New Issue