Skip to content

Commit a88d24c

Browse files
committed
add smoke-tests
1 parent fe024d5 commit a88d24c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1-
.PHONY: build test clean publish publish-darwin publish-linux publish-windows pack-nuget publish-all
1+
.PHONY: build test smoke-tests clean publish publish-darwin publish-linux publish-windows pack-nuget publish-all
22

33
build:
44
dotnet build FScript.sln -c Release
55

66
test:
77
dotnet test FScript.sln -c Release
88

9+
smoke-tests:
10+
@set -e; \
11+
for script in samples/*.fss; do \
12+
echo "Running $$script"; \
13+
dotnet run --project src/FScript -- "$$script" > /dev/null; \
14+
done; \
15+
echo "All smoke tests passed."
16+
917
clean:
1018
dotnet clean FScript.sln -c Release
1119
find . -type d -name bin -o -name obj | xargs rm -rf

0 commit comments

Comments
 (0)