Browse Source

chore: Update test all script

pull/22516/head
zombiej 5 years ago
parent
commit
517e75362a
  1. 28
      scripts/test-all.sh

28
scripts/test-all.sh

@ -1,12 +1,22 @@
#!/bin/sh #!/bin/sh
npm run lint && \ echo "[TEST ALL] lint"
npm run dist && \ npm run lint
node ./tests/dekko/dist.test.js && \ echo "[TEST ALL] dist"
LIB_DIR=dist npm test && \ npm run dist
npm run compile && \ echo "[TEST ALL] dekko dist"
node ./tests/dekko/lib.test.js && \ node ./tests/dekko/dist.test.js
LIB_DIR=es npm test && \ echo "[TEST ALL] dist test"
LIB_DIR=lib npm test && \ LIB_DIR=dist npm test
npm test && \ echo "[TEST ALL] compile"
npm run compile
echo "[TEST ALL] dekko lib"
node ./tests/dekko/lib.test.js
echo "[TEST ALL] test es"
LIB_DIR=es npm test
echo "[TEST ALL] test lib"
LIB_DIR=lib npm test
echo "[TEST ALL] test"
npm test
echo "[TEST ALL] test node"
npm run test-node npm run test-node

Loading…
Cancel
Save