grunt build-tests -> make withtests

This commit is contained in:
ccd0 2016-04-17 03:58:29 -07:00
parent 1f9787824e
commit 1b2fd2433b

View File

@ -14,7 +14,7 @@ else
ESC_DOLLAR = \$$ ESC_DOLLAR = \$$
endif endif
npgoals := clean cleanrel cleanweb cleanfull tag $(foreach i,1 2 3 4,bump$(i)) beta stable web update npgoals := clean cleanrel cleanweb cleanfull withtests tag $(foreach i,1 2 3 4,bump$(i)) beta stable web update
ifneq "$(filter $(npgoals),$(MAKECMDGOALS))" "" ifneq "$(filter $(npgoals),$(MAKECMDGOALS))" ""
.NOTPARALLEL : .NOTPARALLEL :
endif endif
@ -282,6 +282,11 @@ cleanfull : clean cleanweb
$(RMDIR) .events2 dist node_modules $(RMDIR) .events2 dist node_modules
git worktree prune git worktree prune
withtests :
echo true> .tests_enabled
-$(MAKE)
echo false> .tests_enabled
tag : .events/CHANGELOG jshint release tag : .events/CHANGELOG jshint release
git commit -am "Release $(name) v$(version)." git commit -am "Release $(name) v$(version)."
git tag -a $(version) -m "$(name) v$(version)." git tag -a $(version) -m "$(name) v$(version)."