-
Notifications
You must be signed in to change notification settings - Fork 71
/
Justfile
29 lines (23 loc) · 1.05 KB
/
Justfile
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
alias c := clean
alias b := build
alias t := test
clean:
git clean -fxd
dotnet build-server shutdown
build:
dotnet build Mediator.sln
_test constants:
dotnet clean
dotnet build --no-restore -p:ExtraDefineConstants=\"{{constants}}\"
dotnet test --no-restore --no-build --logger "console;verbosity=detailed"
test:
dotnet restore
just -f {{ justfile() }} _test 'Mediator_Lifetime_Singleton%3BMediator_Publisher_ForeachAwait'
just -f {{ justfile() }} _test 'Mediator_Lifetime_Scoped%3BMediator_Publisher_ForeachAwait'
just -f {{ justfile() }} _test 'Mediator_Lifetime_Transient%3BMediator_Publisher_ForeachAwait'
just -f {{ justfile() }} _test 'Mediator_Lifetime_Singleton%3BMediator_Publisher_TaskWhenAll'
just -f {{ justfile() }} _test 'Mediator_Lifetime_Scoped%3BMediator_Publisher_TaskWhenAll'
just -f {{ justfile() }} _test 'Mediator_Lifetime_Transient%3BMediator_Publisher_TaskWhenAll'
dotnet clean
dotnet build --no-restore
dotnet test --no-restore --no-build --logger "console;verbosity=detailed"