Sha256: a53d4e2e37bac84f47742d2328de1bb22096bae6beb45a973946213c36a3af04

Contents?: true

Size: 444 Bytes

Versions: 8

Compression:

Stored size: 444 Bytes

Contents

begin
  require 'jasmine'
  load 'jasmine/tasks/jasmine.rake'
rescue LoadError
  task :jasmine do
    abort "Jasmine is not available. In order to run jasmine, you must: (sudo) gem install jasmine"
  end
end

task :travis do
  ["rake jasmine:ci"].each do |cmd|
    puts "Starting to run #{cmd}..."
    system("export DISPLAY=:99.0 && bundle exec #{cmd}")
    raise "#{cmd} failed!" unless $?.exitstatus == 0
  end
end

task :default => 'travis'

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ninjs-0.16.8 repository/ninjs/Rakefile
ninjs-0.16.7 repository/ninjs/Rakefile
ninjs-0.16.6 repository/ninjs/Rakefile
ninjs-0.16.5 repository/ninjs/Rakefile
ninjs-0.16.4 repository/ninjs/Rakefile
ninjs-0.16.3 repository/ninjs/Rakefile
ninjs-0.16.2 repository/ninjs/Rakefile
ninjs-0.16.1 repository/ninjs/Rakefile