forked from pa11y/pa11y
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
25 lines (21 loc) · 942 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Reusable Makefile
# ------------------------------------------------------------------------
# This section of the Makefile should not be modified, it includes
# commands from my reusable Makefile: https://github.com/rowanmanning/make
include node_modules/@rowanmanning/make/javascript/index.mk
# [edit below this line]
# ------------------------------------------------------------------------
INTEGRATION_TIMEOUT = 10000
INTEGRATION_SLOW = 5000
# Build tasks
# -----------
# Rebuild a local HTML CodeSniffer
build-htmlcs:
@echo "building HTML CodeSniffer"
@npm install git+ssh://[email protected]:squizlabs/HTML_CodeSniffer.git
@npm install -g grunt-cli
@cd ./node_modules/HTML_CodeSniffer && npm install --development
@cd ./node_modules/HTML_CodeSniffer && grunt build-bookmarklet
@cat ./lib/vendor/HTMLCS-LICENSE > lib/vendor/HTMLCS.js
@cat ./node_modules/HTML_CodeSniffer/build/HTMLCS.js >> lib/vendor/HTMLCS.js
@$(TASK_DONE)