-
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathTaskfile.yml
More file actions
64 lines (61 loc) · 1.87 KB
/
Taskfile.yml
File metadata and controls
64 lines (61 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# https://taskfile.dev
version: "3"
vars:
DOWNLOAD_SYNCTHING_VERSION: "v2.0.3"
tasks:
download-syncthing:
desc: "Download and extract syncthing"
cmds:
- powershell -ExecutionPolicy Bypass -File scripts/download-syncthing.ps1 -Version "{{.DOWNLOAD_SYNCTHING_VERSION}}"
platforms: [windows]
run: once
upgrade-syncthing:
desc: "Upgrade local syncthing binary"
deps:
- download-syncthing
cmds:
- powershell -ExecutionPolicy Bypass -File scripts/upgrade-syncthing.ps1
platforms: [windows]
run: once
test:
desc: "Test SyncTrayzor"
cmds:
- powershell -ExecutionPolicy Bypass -File scripts/test.ps1
platforms: [windows]
build:
desc: "Build SyncTrayzor"
deps:
- upgrade-syncthing
cmds:
- powershell -ExecutionPolicy Bypass -File scripts/build-dist.ps1 -Variant "{{.variant}}"
requires:
vars:
- variant
platforms: [windows]
build-portable:
desc: "Build SyncTrayzor in portable configuration"
cmds:
- task: build
vars:
variant: "Portable"
- powershell -ExecutionPolicy Bypass -File scripts/build-portable.ps1
platforms: [windows]
build-installer:
desc: "Build SyncTrayzor with installer"
cmds:
- task: build
vars:
variant: "Installed"
- powershell -ExecutionPolicy Bypass -File scripts/build-inno-setup.ps1
platforms: [windows]
build-choco-package:
desc: "Create Chocolatey package"
cmds:
- powershell -ExecutionPolicy Bypass -File scripts/build-choco-package.ps1
run: once
sign-release:
desc: "Sign release files in ./release folder"
cmds:
- powershell -ExecutionPolicy Bypass -File scripts/sign-release.ps1
platforms: [windows]
run: once