Sha256: 84cbd049f7ba492a6eaa03b5376cae737edb1a8c55c0a5e8acca5632521ea5fc

Contents?: true

Size: 452 Bytes

Versions: 3

Compression:

Stored size: 452 Bytes

Contents

require_relative "task_helpers"
include ReactOnRails::TaskHelpers

namespace :dummy_apps do
  task :dummy_app do
    dummy_app_dir = File.join(gem_root, "spec/dummy")
    bundle_install_in(dummy_app_dir)
    sh_in_dir(dummy_app_dir, "npm install")
  end

  task dummy_apps: [:dummy_app, :node_package] do
    puts "Prepared all Dummy Apps"
  end
end

desc "Prepares all dummy apps by installing dependencies"
task dummy_apps: ["dummy_apps:dummy_apps"]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
react_on_rails-3.0.0.rc.1 rakelib/dummy_apps.rake
react_on_rails-3.0.0.beta.1 rakelib/dummy_apps.rake
react_on_rails-2.3.0 rakelib/dummy_apps.rake