-
Notifications
You must be signed in to change notification settings - Fork 1
/
Taskfile.yml
44 lines (42 loc) · 920 Bytes
/
Taskfile.yml
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
# https://taskfile.dev
version: '3'
tasks:
init:
desc: Initialize githooks
cmds:
- git config --local core.hooksPath .githooks/
generate:
desc: Generate identifiers for Xabbo.Messages
dir: ./src/Xabbo.Messages
cmds:
- ./generate.sh
test:cli:
desc: Runs the CLI app tests
cmds:
- go test ./cli/...
test:lib:
deps: [build:lib]
cmds:
- dotnet test --no-build
test:
desc: Runs all tests
deps: [test:cli, test:lib]
build:cli:
desc: Builds the CLI app
cmds:
- go build -v -o ./bin/ ./cli/msgs
build:lib:
cmds:
- dotnet build
build:
deps: [build:cli, build:lib]
rebuild:
desc: Rebuilds the solution
cmds:
- dotnet clean
- dotnet build-server shutdown
- dotnet build
pack:
desc: Packs Xabbo.Messages into a nupkg
cmds:
- dotnet pack src/Xabbo.Messages -c Release -o pkg