-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
48 lines (38 loc) · 1.09 KB
/
justfile
File metadata and controls
48 lines (38 loc) · 1.09 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
41
42
43
44
45
46
47
48
# 🧐 Default interactive selection command.
default:
@just --choose
# 🚀 Runs a full CI build.
ci: build_release test_release pack
# 🛜 Installs dependencies.
restore:
dotnet restore
# 🔨 Builds the library in debug.
[group("Debug")]
build:
dotnet build
# 🧪 Runs the debug test project.
[group("Debug")]
test:
dotnet test
# 🔨 Builds the library in release.
[group("Release")]
build_release:
dotnet build --configuration Release
# 🧪 Runs the released test project.
[group("Release")]
test_release:
dotnet test --configuration Release
# 📦 Packages the project ready to publish to NuGet.
[group("Release")]
pack:
dotnet pack --configuration Release --no-restore --output ./nuget
# ⬆️ Upgrades all library dependencies.
outdated:
dotnet outdated --upgrade
# ⬆️ Runs an interactive framework upgrade.
upgrade:
# https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-how-to-upgrade#upgrade-a-project-from-the-cli
dotnet upgrade-assistant upgrade
# 📝 Builds and runs the documentation.
docs:
dotnet docfx docfx.json --serve