loopback-datasource-juggler/Makefile

26 lines
499 B
Makefile
Raw Normal View History

2013-03-24 21:22:23 +00:00
## TESTS
2011-11-05 10:54:52 +00:00
2013-03-24 21:22:23 +00:00
TESTER = ./node_modules/.bin/mocha
2013-04-06 10:57:12 +00:00
OPTS = --growl
2013-03-24 21:22:23 +00:00
TESTS = test/*.test.js
2011-11-05 10:54:52 +00:00
2013-03-24 21:22:23 +00:00
test:
$(TESTER) $(OPTS) $(TESTS)
test-verbose:
2013-03-24 21:22:23 +00:00
$(TESTER) $(OPTS) --reporter spec $(TESTS)
testing:
$(TESTER) $(OPTS) --watch $(TESTS)
about-testing:
@echo "\n## TESTING\n"
@echo " make test # Run all tests in silent mode"
@echo " make test-verbose # Run all tests in verbose mode"
@echo " make testing # Run tests continuously"
## HELP
2013-07-23 05:32:05 +00:00
help: about-testing
2013-07-23 05:32:05 +00:00
.PHONY: test