ant-design/scripts/test-all.sh

23 lines
562 B
Bash
Raw Normal View History

#!/bin/sh
2020-03-23 12:39:39 +08:00
echo "[TEST ALL] lint" && \
npm run lint && \
echo "[TEST ALL] dist" && \
npm run dist && \
echo "[TEST ALL] dekko dist" && \
node ./tests/dekko/dist.test.js && \
echo "[TEST ALL] dist test" && \
LIB_DIR=dist 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" && \
2017-06-30 15:29:28 +08:00
npm run test-node