15 lines
342 B
Makefile
15 lines
342 B
Makefile
dist: node_modules
|
|
mkdir -p dist
|
|
cp -rf src/* dist/
|
|
mkdir -p dist/public/vendor
|
|
cp -f node_modules/mocha/mocha.js dist/public/vendor/mocha.js
|
|
cp -f node_modules/mocha/mocha.css dist/public/vendor/mocha.css
|
|
cp -f node_modules/chai/chai.js dist/public/vendor/chai.js
|
|
|
|
node_modules:
|
|
npm ci
|
|
|
|
clean:
|
|
rm -rf dist node_modules
|
|
|
|
.PHONY: dist |