makefile copy necessary resources for tests in docs

This commit is contained in:
Jake Luer 2012-02-24 18:25:30 -05:00
parent d871b5f7d9
commit b423ea7830

View file

@ -15,6 +15,11 @@ docs: clean-docs
@./node_modules/.bin/codex build \
-i docs
@cp chai.js docs/out/chai.js
@mkdir docs/out/tests
@cp node_modules/mocha/mocha.js docs/out/tests
@cp node_modules/mocha/mocha.css docs/out/tests
@cp -R test/*.js docs/out/tests
@cp test/browser/docs.html docs/out/tests.html
@./node_modules/.bin/codex serve \
-d docs/out