Sha256: 55dbb9f45cf915f11d5883fa9d42baeae00691476c64f4cdd87c922ff74617bd

Contents?: true

Size: 591 Bytes

Versions: 26

Compression:

Stored size: 591 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'
require 'shellwords'

Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

namespace :dummy do
  namespace :npm do
    desc "Run npm install for dummy app"
    task :install do
      dummy_dir = Bundler.root.join 'test/dummy'

      sh "cd #{Shellwords.shellescape(dummy_dir)} && npm install" do |ok, res|
        fail "Error running npm install in #{dummy_dir}." unless ok
      end
    end
  end
end

task :test => ['dummy:npm:install']

task :default => :test

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
browserify-rails-4.4.0 Rakefile
browserify-rails-4.3.0 Rakefile
browserify-rails-4.3.0.pre Rakefile
browserify-rails-4.2.0 Rakefile
browserify-rails-4.1.0 Rakefile
browserify-rails-4.0.0 Rakefile
browserify-rails-4.0.0.b Rakefile
browserify-rails-3.4.0 Rakefile
browserify-rails-3.3.0 Rakefile
browserify-rails-3.2.0 Rakefile
browserify-rails-3.1.0 Rakefile
browserify-rails-3.0.1 Rakefile
browserify-rails-3.0.0 Rakefile
browserify-rails-2.2.1 Rakefile
browserify-rails-2.2.0 Rakefile
browserify-rails-2.1.0 Rakefile
browserify-rails-2.0.3 Rakefile
browserify-rails-2.0.2 Rakefile
browserify-rails-1.5.0 Rakefile
browserify-rails-1.4.0 Rakefile