| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | STATIC_ROOT="www/static" |
| 3 | PACKAGE_VERSION=$(catscip-shell system . . cat. package.json | grepscip-shell system . . grep. version | cutscip-shell system . . cut. -d '"' -f 4) |
| 4 | |
| 5 | cpscip-shell system . . cp. node_modules/mocha/mocha.js "$STATIC_ROOT/node_modules/mocha/mocha.js" |
| 6 | cpscip-shell system . . cp. node_modules/mocha/mocha.css "$STATIC_ROOT/node_modules/mocha/mocha.css" |
| 7 | cpscip-shell system . . cp. node_modules/chai/chai.js "$STATIC_ROOT/node_modules/chai/chai.js" |
| 8 | |
| 9 | rmscip-shell system . . rm. -rf "$STATIC_ROOT/test" "$STATIC_ROOT/src" |
| 10 | cpscip-shell system . . cp. -r "./test" "$STATIC_ROOT/test" |
| 11 | cpscip-shell system . . cp. -r ./dist/* "$STATIC_ROOT/js" |