Commit | Line | Data |
---|---|---|
77665792 TO |
1 | #!/bin/bash |
2 | if which node_modules/karma/bin/karma >> /dev/null; then | |
0292a407 TO |
3 | if which nodejs >> /dev/null; then |
4 | ## Debian | |
5 | nodejs node_modules/karma/bin/karma start | |
6 | else | |
7 | ## Official | |
8 | node node_modules/karma/bin/karma start | |
9 | fi | |
77665792 | 10 | elif which karma >> /dev/null ; then |
450ae8a9 | 11 | karma start |
77665792 TO |
12 | else |
13 | echo "ERROR: Failed to find karma" | |
14 | exit 1 | |
15 | fi |