-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
26e9329
commit 122111a
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
|
||
build: engine.io.js | ||
help: ## print this message | ||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' | ||
|
||
engine.io.js: | ||
build: ## update the browser build (engine.io.js) | ||
@./node_modules/.bin/gulp build | ||
|
||
test: | ||
test: ## run tests either in the browser or in Node.js, based on the `BROWSERS` variable | ||
@./node_modules/.bin/gulp test | ||
|
||
test-node: | ||
test-node: ## run tests in Node.js | ||
@./node_modules/.bin/gulp test-node | ||
|
||
test-zuul: | ||
test-zuul: ## run tests in the browser | ||
@./node_modules/.bin/gulp test-zuul | ||
|
||
test-cov: | ||
test-cov: ## run tests with coverage in Node.js | ||
@./node_modules/.bin/gulp test-cov | ||
|
||
.PHONY: test build | ||
.PHONY: help test test-node test-zuul test-cov |