1
0
Fork 0
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:
M66B 2023-12-01 07:51:23 +01:00
parent 834c08bb00
commit 9a92d633fd

View file

@ -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"