diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d564aab --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +SWIFT = $(shell which swift) +DEV_TOOLS_BUILD_FLAGS = --configuration release --package-path ./DevTools + +.PHONY: dev +dev: + $(SWIFT) build $(DEV_TOOLS_BUILD_FLAGS) --product xcbeautify + +.PHONY: test +test: + $(SWIFT) test 2>&1 | xcbeautify