Skip to content

Commit

Permalink
[chore] Update the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Nov 7, 2018
1 parent 26e9329 commit 122111a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Makefile
@@ -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

0 comments on commit 122111a

Please sign in to comment.