-
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathTaskfile.tools.yml
More file actions
40 lines (39 loc) · 1 KB
/
Taskfile.tools.yml
File metadata and controls
40 lines (39 loc) · 1 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
# yaml-language-server: $schema=https://taskfile.dev/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: '3'
tasks:
build:
label: "Build {{.PROGRAM}}{{exeExt}}"
internal: true
sources:
- tools/scripts/**/*
generates:
- .tools/{{.PROGRAM}}{{exeExt}}
method: checksum
cmds:
- go build -o ./.tools/{{.PROGRAM}}{{exeExt}} tools/scripts/cmd/{{.PROGRAM}}.go
copyBattleServerManagerResources:
internal: true
cmds:
- task: build
vars: { PROGRAM: 'copyBattleServerManagerResources' }
copyLauncherResources:
internal: true
cmds:
- task: build
vars: { PROGRAM: 'copyLauncherResources' }
createServerResourcesFolder:
internal: true
cmds:
- task: build
vars: { PROGRAM: 'createServerResourcesFolder' }
copyServerResources:
internal: true
cmds:
- task: build
vars: { PROGRAM: 'copyServerResources' }
run:
deps:
- task: "{{.PROGRAM}}"
cmds:
- ./.tools/{{.PROGRAM}}{{exeExt}}