-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
32 lines (25 loc) · 792 Bytes
/
Taskfile.yml
File metadata and controls
32 lines (25 loc) · 792 Bytes
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
# https://taskfile.dev
version: '3'
tasks:
default:
cmd: task --list
build:
desc: Build the application
cmds:
- cmd: go build -o ./bin/buildforthechurch-build cmd/agentbuild/main.go
platforms: [darwin, linux]
- cmd: go build -o ./bin/buildforthechurch-api cmd/api/main.go
platforms: [darwin, linux]
- cmd: go build -o ./bin/buildforthechurch-build.exe cmd/agentbuild/main.go
platforms: [windows]
- cmd: go build -o ./bin/buildforthechurch-api.exe cmd/api/main.go
platforms: [windows]
run:
desc: Run the application
cmd: go run cmd/agentbuild/main.go
clean:
desc: Clean up the build artifacts
cmd: rm -f ./bin/buildforthechurch
api:
desc: Run the API
cmd: go run cmd/api/main.go