-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
build
executable file
·42 lines (33 loc) · 2.23 KB
/
build
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
#!/usr/bin/env bash
set -euo pipefail
echo "${0##*/}": Formatting...
dotnet format --verify-no-changes
echo "${0##*/}": Building...
dotnet build --configuration Release --nologo
echo "${0##*/}": Testing...
dotnet test --configuration Release --no-build --nologo "${1:-}" "${2:-}"
echo "${0##*/}": Smoke testing...
trap '$(set +x)' EXIT
set -x
dotnet run -c Release --no-build --project BullseyeSmokeTester -- --help
dotnet run -c Release --no-build --project BullseyeSmokeTester -- --list-targets
dotnet run -c Release --no-build --project BullseyeSmokeTester -- --list-dependencies
dotnet run -c Release --no-build --project BullseyeSmokeTester -- --list-inputs
dotnet run -c Release --no-build --project BullseyeSmokeTester -- --list-dependencies --list-inputs
dotnet run -c Release --no-build --project BullseyeSmokeTester -- --list-tree --list-inputs
dotnet run -c Release --no-build --project BullseyeSmokeTester --
dotnet run -c Release --no-build --project BullseyeSmokeTester -- --parallel
dotnet run -c Release --no-build --project BullseyeSmokeTester -- --dry-run
dotnet run -c Release --no-build --project BullseyeSmokeTester -- --skip-dependencies
dotnet run -c Release --no-build --project BullseyeSmokeTester -- --dry-run --skip-dependencies
dotnet run -c Release --no-build --project BullseyeSmokeTester -- --verbose
dotnet run -c Release --no-build --project BullseyeSmokeTester -- -h --verbose
dotnet run -c Release --no-build --project BullseyeSmokeTester -- -h --verbose --no-color
dotnet run -c Release --no-build --project BullseyeSmokeTester -- large-graph --verbose --parallel
dotnet run -c Release --no-build --project BullseyeSmokeTester.DragonFruit -- --help
dotnet run -c Release --no-build --project BullseyeSmokeTester.DragonFruit -- --foo bar --verbose --targets build
dotnet run -c Release --no-build --project BullseyeSmokeTester.CommandLine -- --help
dotnet run -c Release --no-build --project BullseyeSmokeTester.CommandLine -- --foo bar --verbose build
dotnet run -c Release --no-build --project BullseyeSmokeTester.McMaster -- --help
dotnet run -c Release --no-build --project BullseyeSmokeTester.McMaster -- --foo bar --verbose build
env NO_COLOR=1 dotnet run -c Release --no-build --project BullseyeSmokeTester -- -h --verbose