-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yml
More file actions
40 lines (33 loc) · 1013 Bytes
/
Copy pathTaskfile.yml
File metadata and controls
40 lines (33 loc) · 1013 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
33
34
35
36
37
38
39
40
version: '3'
vars:
CONFIGURATION: '{{.CONFIGURATION | default "Debug"}}'
tasks:
default:
cmd: task -l
silent: true
build-deps:
desc: Builds dependency projects (TechnitiumLibrary and DnsServerCore).
cmds:
- dotnet build TechnitiumLibrary/TechnitiumLibrary.Net -c Release
- dotnet build DnsServer/DnsServerCore.ApplicationCommon -c Release
restore:
desc: Restores dependencies for LANCacheApp.
cmds:
- dotnet restore LANCacheApp
build:
desc: Builds LANCacheApp.
deps: [build-deps]
cmds:
- task: build-deps
- task: restore
- dotnet build LANCacheApp --no-restore -c {{.CONFIGURATION}}
test:
desc: Runs tests for LANCacheApp.
cmds:
- dotnet test LANCacheApp.Tests --no-build --verbosity normal
clean:
desc: Cleans the build artifacts.
cmds:
- dotnet clean LANCacheApp
- dotnet clean TechnitiumLibrary/TechnitiumLibrary.Net
- dotnet clean DnsServer/DnsServerCore.ApplicationCommon