Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rakelib/node_package.rake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace :node_package do

task :build do
puts "Building Node Package and running 'yalc publish'"
sh "yarn run build && yalc publish"
sh "yarn run build && yarn yalc publish"
end
end

Expand Down
4 changes: 2 additions & 2 deletions rakelib/shakapacker_examples.rake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace :shakapacker_examples do # rubocop:disable Metrics/BlockLength
task example_type.gen_task_name_short => example_type.clobber_task_name do
puts "Running shakapacker_examples:#{example_type.gen_task_name_short}"
mkdir_p(example_type.dir)
example_type.rails_options += "--skip-javascript"
example_type.rails_options += " --skip-javascript"
sh_in_dir(examples_dir, "rails new #{example_type.name} #{example_type.rails_options}")
sh_in_dir(example_type.dir, "touch .gitignore")
sh_in_dir(example_type.dir,
Expand All @@ -38,7 +38,7 @@ namespace :shakapacker_examples do # rubocop:disable Metrics/BlockLength
bundle_install_in(example_type.dir)
sh_in_dir(example_type.dir, "rake shakapacker:install")
sh_in_dir(example_type.dir, example_type.generator_shell_commands)
sh_in_dir(example_type.dir, "yarn")
sh_in_dir(example_type.dir, "npm install")
end
end

Expand Down
Loading