-
Notifications
You must be signed in to change notification settings - Fork 105
/
Copy pathJustfile
60 lines (47 loc) · 3.22 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
alias b := build
alias c := clean
alias t := test
build:
dotnet build Mediator.sln
clean:
git clean -fxd
dotnet build-server shutdown
_test constants:
dotnet clean -v q
dotnet build --no-restore -p:ExtraDefineConstants=\"{{constants}}\" -v q ./test/Mediator.Tests/
dotnet test --no-restore --no-build ./test/Mediator.Tests/
test:
dotnet restore -v m
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'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Singleton%3BMediator_Publisher_ForeachAwait%3BMediator_Large_Project'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Scoped%3BMediator_Publisher_ForeachAwait%3BMediator_Large_Project'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Transient%3BMediator_Publisher_ForeachAwait%3BMediator_Large_Project'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Singleton%3BMediator_Publisher_TaskWhenAll%3BMediator_Large_Project'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Scoped%3BMediator_Publisher_TaskWhenAll%3BMediator_Large_Project'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Transient%3BMediator_Publisher_TaskWhenAll%3BMediator_Large_Project'
dotnet clean -v q
dotnet build --no-restore -v q
dotnet test --no-restore --no-build
test-transient:
dotnet restore -v m
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Transient%3BMediator_Publisher_ForeachAwait'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Transient%3BMediator_Publisher_TaskWhenAll'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Transient%3BMediator_Publisher_ForeachAwait%3BMediator_Large_Project'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Transient%3BMediator_Publisher_TaskWhenAll%3BMediator_Large_Project'
test-scoped:
dotnet restore -v m
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Scoped%3BMediator_Publisher_ForeachAwait'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Scoped%3BMediator_Publisher_TaskWhenAll'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Scoped%3BMediator_Publisher_ForeachAwait%3BMediator_Large_Project'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Scoped%3BMediator_Publisher_TaskWhenAll%3BMediator_Large_Project'
test-singleton:
dotnet restore -v m
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Singleton%3BMediator_Publisher_ForeachAwait'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Singleton%3BMediator_Publisher_TaskWhenAll'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Singleton%3BMediator_Publisher_ForeachAwait%3BMediator_Large_Project'
just -f '{{ justfile() }}' _test 'Mediator_Lifetime_Singleton%3BMediator_Publisher_TaskWhenAll%3BMediator_Large_Project'