Add tests section to Makefile

This commit is contained in:
Oskar Thoren 2017-12-23 10:36:25 +01:00
parent 1c14845bbc
commit 153cd02b86
No known key found for this signature in database
GPG Key ID: 5128AB0637CD85AF
1 changed files with 13 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.PHONY: react-native
.PHONY: react-native test
help: ##@other Show this help
@perl -e '$(HELP_FUN)' $(MAKEFILE_LIST)
@ -96,6 +96,16 @@ run-android: ##@run Run Android build
run-ios: ##@run Run iOS build
react-native run-ios
#--------------
# Tests
#--------------
test: ##@test Run tests once in NodeJS
lein with-profile test doo node test once
test-auto: ##@test Run tests in interactive (auto) mode in NodeJS
lein with-profile test doo node test
#--------------
# Other
#--------------