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.6.0.alpha.1 rakelib/dummy_apps.rake
react_on_rails-6.5.1 rakelib/dummy_apps.rake
react_on_rails-6.5.0 rakelib/dummy_apps.rake
react_on_rails-6.4.2 rakelib/dummy_apps.rake
react_on_rails-6.5.0.beta.1 rakelib/dummy_apps.rake
react_on_rails-6.4.1 rakelib/dummy_apps.rake
react_on_rails-6.4.0 rakelib/dummy_apps.rake
react_on_rails-6.3.5 rakelib/dummy_apps.rake
react_on_rails-6.3.4 rakelib/dummy_apps.rake
react_on_rails-6.3.3 rakelib/dummy_apps.rake
react_on_rails-6.3.2 rakelib/dummy_apps.rake
react_on_rails-6.3.1 rakelib/dummy_apps.rake
react_on_rails-6.3.0 rakelib/dummy_apps.rake
react_on_rails-6.2.1 rakelib/dummy_apps.rake
react_on_rails-6.2.1.rc.3 rakelib/dummy_apps.rake
react_on_rails-6.2.1.rc.2 rakelib/dummy_apps.rake
react_on_rails-6.2.1.rc.1 rakelib/dummy_apps.rake
react_on_rails-6.2.0 rakelib/dummy_apps.rake
react_on_rails-6.1.2 rakelib/dummy_apps.rake
react_on_rails-6.1.1 rakelib/dummy_apps.rake