Skip to content

Commit 4a93871

Browse files
[chore] Update the Makefile
1 parent eeafa44 commit 4a93871

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

Makefile

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11

2-
REPORTER = dot
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-
build: socket.io.js
5+
build: ## update the browser builds
6+
@./node_modules/.bin/gulp build
57

6-
socket.io.js socket.io.min.js: lib/*.js package.json
7-
@./node_modules/.bin/gulp
8-
9-
test:
8+
test: ## run tests either in the browser or in Node.js, based on the `BROWSERS` variable
109
@./node_modules/.bin/gulp test
1110

12-
test-node:
11+
test-node: ## run tests in Node.js
1312
@./node_modules/.bin/gulp test-node
1413

15-
test-zuul:
14+
test-zuul: ## run tests in the browser
1615
@./node_modules/.bin/gulp test-zuul
1716

18-
test-cov:
17+
test-cov: ## run tests with coverage in Node.js
1918
@./node_modules/.bin/gulp test-cov
2019

21-
.PHONY: test
20+
.PHONY: help test test-node test-zuul test-cov

0 commit comments

Comments
 (0)