-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
37 lines (28 loc) · 705 Bytes
/
justfile
File metadata and controls
37 lines (28 loc) · 705 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
solution := "src/CronTimer.slnx"
# List available recipes
default:
@just --list
# Restore NuGet packages
restore:
dotnet restore {{solution}}
# Build the solution
build *args='':
dotnet build {{solution}} {{args}}
# Build in Release configuration
build-release:
dotnet build {{solution}} -c Release
# Run tests
test *args='':
dotnet test {{solution}} {{args}}
# Run tests in Release configuration
test-release:
dotnet test {{solution}} -c Release
# Pack the NuGet package
pack *args='':
dotnet pack {{solution}} {{args}}
# Pack in Release configuration
pack-release:
dotnet pack {{solution}} -c Release
# Clean build artifacts
clean:
dotnet clean {{solution}}