Skip to content

Commit eafc6aa

Browse files
committed
2 parents 3aec048 + 60fe3e9 commit eafc6aa

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

examples/angularjs/run_tests.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/sh
2+
echo "[MeteorCLI - angularjs] Resetting project"
3+
meteor reset
4+
echo "[MeteorCLI - angularjs] Installing npm dependencies"
5+
npm ci
6+
exit_code=$?; if [ ${exit_code} -gt 0 ]; then exit ${exit_code}; fi
7+
echo "[MeteorCLI - angularjs] Installing meteor dependencies"
8+
meteor update --all-packages --allow-incompatible-update
9+
exit_code=$?; if [ ${exit_code} -gt 0 ]; then exit ${exit_code}; fi
10+
echo "[MeteorCLI - angularjs] Testing Dev"
11+
npm run test:ci
12+
exit_code=$?; if [ ${exit_code} -gt 0 ]; then exit ${exit_code}; fi
13+
echo "[MeteorCLI - angularjs] Testing Production w/ Rollup"
14+
ROLLUP=1 meteor build ./.meteor/build-rollup
15+
exit_code=$?; if [ ${exit_code} -gt 0 ]; then exit ${exit_code}; fi

0 commit comments

Comments
 (0)