Skip to content

Instantly share code, notes, and snippets.

@tatey
Last active December 25, 2015 16:29
Show Gist options
  • Save tatey/7006140 to your computer and use it in GitHub Desktop.
Save tatey/7006140 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
if ARGV.empty?
system "$(npm bin)/karma start #{File.expand_path('../../spec/javascripts/karma.conf.js', __FILE__) --single-run}"
else
system "$(npm bin)/karma #{ARGV.join(' ')}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment