Sha256: 5cbe4449c9af0015b522474e8330d7abae28c3bbb5b7fab323ca6e6f30ddc775
Contents?: true
Size: 530 Bytes
Versions: 43
Compression:
Stored size: 530 Bytes
Contents
require "appraisal" require "rubygems" require "bundler" require "rspec/core/rake_task" Bundler::GemHelper.install_tasks RSpec::Core::RakeTask.new(:"spec:ruby") desc "Run JavaScript specs" task "spec:js" do # Need to call `exit!` manually to propogate exit status system "npm", "test" or exit!(1) end desc "Run all specs" task :spec => ["spec:ruby", "spec:js"] if !ENV["APPRAISAL_INITIALIZED"] && !ENV["TRAVIS"] task :default do sh "appraisal install && rake appraisal spec" end else task :default => :spec end
Version data entries
43 entries across 43 versions & 1 rubygems