Sha256: 4a838286e4b394f0a24f701094f5bf984b1f6cca25dfcde41c7d2c4ee46e29fa

Contents?: true

Size: 651 Bytes

Versions: 59

Compression:

Stored size: 651 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_app_with_turbolinks_5 do
    dummy_app_dir = File.join(gem_root, "spec/dummy")
    bundle_install_with_turbolinks_5_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

59 entries across 59 versions & 1 rubygems

Version Path
react_on_rails-6.1.1.rc.1 rakelib/dummy_apps.rake
react_on_rails-6.1.0 rakelib/dummy_apps.rake
react_on_rails-6.0.5 rakelib/dummy_apps.rake
react_on_rails-6.0.4 rakelib/dummy_apps.rake
react_on_rails-6.0.3 rakelib/dummy_apps.rake
react_on_rails-6.0.2 rakelib/dummy_apps.rake
react_on_rails-6.0.1 rakelib/dummy_apps.rake
react_on_rails-6.0.0 rakelib/dummy_apps.rake
react_on_rails-6.0.0.rc.6 rakelib/dummy_apps.rake
react_on_rails-6.0.0.rc.5 rakelib/dummy_apps.rake
react_on_rails-6.0.0.rc.4 rakelib/dummy_apps.rake
react_on_rails-6.0.0.rc3 rakelib/dummy_apps.rake
react_on_rails-6.0.0.rc.2 rakelib/dummy_apps.rake
react_on_rails-6.0.0.rc.1 rakelib/dummy_apps.rake
react_on_rails-6.0.0.beta.5 rakelib/dummy_apps.rake
react_on_rails-6.0.0.beta.4 rakelib/dummy_apps.rake
react_on_rails-6.0.0.beta.3 rakelib/dummy_apps.rake
react_on_rails-6.0.0.beta.2 rakelib/dummy_apps.rake
react_on_rails-6.0.0.beta.1 rakelib/dummy_apps.rake
react_on_rails-5.2.0 rakelib/dummy_apps.rake