Skip to content

Commit 1791c22

Browse files
committed
chore: make sure test exited when fail
1 parent ed0cb7a commit 1791c22

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)