build: make synchronise task configurable.

Required by downtream repository.
This commit is contained in:
Alexandre Pujol 2025-01-14 23:57:19 +01:00
parent f1182b27bb
commit 9953cf1fbd
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 25 additions and 24 deletions

View file

@ -99,7 +99,7 @@ func Configure() {
if file != "" {
sync, _ := prepare.Tasks["synchronise"].(*prepare.Synchronise)
sync.Path = file
sync.Paths = []string{file}
overwrite, _ := prepare.Tasks["overwrite"].(*prepare.Overwrite)
overwrite.OneFile = true
}