Sha256: 9fb3d7d590461b059666b2a656a9e200a68c671437f94ec52a84fd0e3360adcf

Contents?: true

Size: 586 Bytes

Versions: 18

Compression:

Stored size: 586 Bytes

Contents

# frozen_string_literal: true

require_relative "task_helpers"
include ReactOnRails::TaskHelpers

namespace :dummy_apps do
  task :yarn_install do
    yarn_install_cmd = "yarn install --mutex network"
    sh_in_dir(dummy_app_dir, yarn_install_cmd)
  end

  task dummy_app: [:yarn_install] do
    dummy_app_dir = File.join(gem_root, "spec/dummy")
    bundle_install_in(dummy_app_dir)
  end

  task dummy_apps: %i[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

18 entries across 18 versions & 1 rubygems

Version Path
react_on_rails-9.0.0.beta.11 rakelib/dummy_apps.rake
react_on_rails-9.0.0.beta.10 rakelib/dummy_apps.rake
react_on_rails-9.0.0.beta.9 rakelib/dummy_apps.rake
react_on_rails-9.0.0.beta.8 rakelib/dummy_apps.rake
react_on_rails-9.0.0.beta.7 rakelib/dummy_apps.rake
react_on_rails-9.0.0.beta.6 rakelib/dummy_apps.rake
react_on_rails-9.0.0.beta.5 rakelib/dummy_apps.rake
react_on_rails-9.0.0.beta.4 rakelib/dummy_apps.rake
react_on_rails-9.0.0.beta.3 rakelib/dummy_apps.rake
react_on_rails-9.0.0.beta.2 rakelib/dummy_apps.rake
react_on_rails-9.0.0.beta.1 rakelib/dummy_apps.rake
react_on_rails-8.0.6 rakelib/dummy_apps.rake
react_on_rails-8.0.6.rc.1 rakelib/dummy_apps.rake
react_on_rails-8.0.6.rc.0 rakelib/dummy_apps.rake
react_on_rails-8.0.5 rakelib/dummy_apps.rake
react_on_rails-8.0.4 rakelib/dummy_apps.rake
react_on_rails-8.0.3 rakelib/dummy_apps.rake
react_on_rails-8.0.2 rakelib/dummy_apps.rake