Files
SwiftShell/Makefile
T
Kare Morstol 4916480f4e Fix #14: Support building with Swift Package Manager.
That was easier than I feared.
2016-02-23 03:17:06 +01:00

18 lines
385 B
Makefile

.PHONY: build test clean
build:
@xcodebuild | egrep '^(/.+:[0-9+:[0-9]+:.(error|warning):|fatal|===)' -
test: build
@xcodebuild test -scheme SwiftShell | egrep -v '^Test Suite|^Test Case|^\t Executed '
@echo "=== RUN SwiftShell TEST SCRIPTS (SwiftShellTests/Scripts/runtests.bash) ==="
@cd ./Tests/Scripts/ && ./runtests.bash
@echo
clean:
-rm -rf build
-rm -rf .build