Skip to content

Commit ae76c03

Browse files
authored
test: fix makefile not stopping on error (#30)
1 parent aa2ed5c commit ae76c03

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
.PHONY: test
22
.SILENT: test
3+
.ONESHELL:
34

45
test: tests/*.ps1
5-
for file in $^ ; do \
6-
echo "Running " $${file} ; \
7-
pwsh $${file} ; \
6+
@set -e
7+
for file in $^ ; do
8+
echo "Running " $${file} ;
9+
pwsh $${file} ;
810
done

0 commit comments

Comments
 (0)