Added Crowdin sync task

pull/214/head
M66B 1 year ago
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…
Cancel
Save