guard-jasmine-headless-webkit/lib/guard/jasmine-headless-webkit/runner.rb

12 lines
205 B
Ruby
Raw Normal View History

2011-05-24 01:28:01 +00:00
module Guard
class JasmineHeadlessWebkitRunner
class << self
def run(paths = [])
system %{jasmine-headless-webkit #{paths.join(" ")}}
$?.exitstatus
end
end
end
end