Skip to content

Commit 6e31e14

Browse files
committed
Add make test command
Lets make running tests easier by adding a Make command for it
1 parent 106f7a4 commit 6e31e14

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# By default export all variables
22
export
33

4-
.PHONY: install release debug build setup clean
4+
.PHONY: install release debug build setup clean test
55

66
PROJECT ?= 'modulo.xcodeproj'
77
SCHEME ?= 'modulo'
@@ -11,6 +11,9 @@ CONFIGURATION ?= 'Debug'
1111
# Build for debugging
1212
debug: build
1313

14+
test:
15+
xcodebuild -project $(PROJECT) -scheme ModuloKit test
16+
1417
# Install `modulo` to `/usr/local/bin`
1518
install: release
1619
cp $(SYMROOT)/Release/modulo /usr/local/bin/

0 commit comments

Comments
 (0)