| Index: appengine/swarming/elements/Makefile
|
| diff --git a/appengine/swarming/elements/Makefile b/appengine/swarming/elements/Makefile
|
| index ef7faeef5f1b41ee27cdaff1d94cd9d06014bfcd..74d491dc91635ea1351cf882ba153cdc88806c44 100644
|
| --- a/appengine/swarming/elements/Makefile
|
| +++ b/appengine/swarming/elements/Makefile
|
| @@ -9,8 +9,17 @@ default:
|
|
|
| # Run a local HTTP server for the demo pages.
|
| .PHONY: run
|
| -run:
|
| - npm install http-server
|
| - # We use sinon to mock up the demo page's json requests.
|
| - npm install sinon@1.17.2
|
| - node_modules/.bin/http-server -p 8080 -a 127.0.0.1
|
| +run: default
|
| + node_modules/.bin/http-server -p 8080 -a 127.0.0.1
|
| +
|
| +
|
| +.PHONY: vulcanize
|
| +vulcanize:
|
| + ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/index-build.html index.html
|
| + ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/botlist-build.html botlist.html
|
| +
|
| +.PHONY: clean_vulcanize
|
| +clean_vulcanize: default
|
| + rm -f ./build/*build.html
|
| + ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/index-build.html index.html
|
| + ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/botlist-build.html botlist.html
|
|
|