Skip to content

Commit b8ba415

Browse files
authored
合并拉取请求 #223
chore: make sure test exited when fail
2 parents 093bebf + 1791c22 commit b8ba415

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/usr/bin/env bash
2+
set -e
23
dotnet restore
3-
dotnet build -c Release
4+
dotnet build -c Release

test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/usr/bin/env bash
2-
dotnet test -c Release
2+
set -e
3+
dotnet test -c Release

0 commit comments

Comments
 (0)