Created
October 16, 2013 23:30
-
-
Save tatey/7016801 to your computer and use it in GitHub Desktop.
bin/karma Binstub that runs our javascript suite when given no arguments.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ "$#" -eq 0 ]; then | |
$(npm bin)/karma start $(cd "$(dirname "$0")"; pwd)/../spec/javascripts/karma.conf.js --single-run | |
else | |
$(npm bin)/karma $@ | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment