Add tests section to Makefile
This commit is contained in:
parent
1c14845bbc
commit
153cd02b86
12
Makefile
12
Makefile
|
@ -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
|
||||
#--------------
|
||||
|
|
Loading…
Reference in New Issue