mirror of
https://github.com/chaijs/chai
synced 2024-11-15 00:07:11 +00:00
makefile copy necessary resources for tests in docs
This commit is contained in:
parent
d871b5f7d9
commit
b423ea7830
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue