Sha256: a60ca33b149f113d8998e221e2b3c44e04e2b69bed26b6fea4c11df79563a9a7

Contents?: true

Size: 646 Bytes

Versions: 31

Compression:

Stored size: 646 Bytes

Contents

# frozen_string_literal: true

require_relative "task_helpers"

namespace :dummy_apps do
  include ReactOnRails::TaskHelpers

  task :yarn_install do
    yarn_install_cmd = "yarn install --mutex network"
    sh_in_dir(dummy_app_dir, yarn_install_cmd)
    sh_in_dir(dummy_app_dir, "yalc link react-on-rails")
  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

31 entries across 31 versions & 1 rubygems

Version Path
react_on_rails-13.3.3 rakelib/dummy_apps.rake
react_on_rails-13.3.2 rakelib/dummy_apps.rake
react_on_rails-13.3.1 rakelib/dummy_apps.rake
react_on_rails-13.3.0 rakelib/dummy_apps.rake
react_on_rails-13.2.0 rakelib/dummy_apps.rake
react_on_rails-13.1.0 rakelib/dummy_apps.rake
react_on_rails-13.0.2 rakelib/dummy_apps.rake
react_on_rails-13.0.1 rakelib/dummy_apps.rake
react_on_rails-13.0.0 rakelib/dummy_apps.rake
react_on_rails-13.0.0.beta.0 rakelib/dummy_apps.rake
react_on_rails-12.6.0 rakelib/dummy_apps.rake
react_on_rails-12.5.2 rakelib/dummy_apps.rake
react_on_rails-12.5.1 rakelib/dummy_apps.rake
react_on_rails-12.5.0 rakelib/dummy_apps.rake
react_on_rails-12.4.0 rakelib/dummy_apps.rake
react_on_rails-12.4.0.rc.0 rakelib/dummy_apps.rake
react_on_rails-12.3.0 rakelib/dummy_apps.rake
react_on_rails-12.2.0 rakelib/dummy_apps.rake
react_on_rails-12.1.0 rakelib/dummy_apps.rake
react_on_rails-12.0.5.beta.0 rakelib/dummy_apps.rake