Skip to content

Commit 122111a

Browse files
[chore] Update the Makefile
1 parent 26e9329 commit 122111a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Makefile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11

2-
build: engine.io.js
2+
help: ## print this message
3+
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
34

4-
engine.io.js:
5+
build: ## update the browser build (engine.io.js)
56
@./node_modules/.bin/gulp build
67

7-
test:
8+
test: ## run tests either in the browser or in Node.js, based on the `BROWSERS` variable
89
@./node_modules/.bin/gulp test
910

10-
test-node:
11+
test-node: ## run tests in Node.js
1112
@./node_modules/.bin/gulp test-node
1213

13-
test-zuul:
14+
test-zuul: ## run tests in the browser
1415
@./node_modules/.bin/gulp test-zuul
1516

16-
test-cov:
17+
test-cov: ## run tests with coverage in Node.js
1718
@./node_modules/.bin/gulp test-cov
1819

19-
.PHONY: test build
20+
.PHONY: help test test-node test-zuul test-cov

0 commit comments

Comments
 (0)