lib/tasks/sewing_kit.rake in sewing_kit-0.127.0 vs lib/tasks/sewing_kit.rake in sewing_kit-0.128.0
- old
+ new
@@ -2,10 +2,10 @@
TEMPLATE_PATH = File.expand_path("../install/template.rb", File.dirname(__FILE__))
namespace :sewing_kit do
desc "Install all of Shopify’s modern FED tooling"
task :install do
- exec "./bin/rails app:template LOCATION=#{TEMPLATE_PATH}"
+ exec "bundle exec rails generate sewing_kit:install"
end
desc "Build webpack asset bundles"
task build: :environment do
compiler = SewingKit::Webpack::Compiler.new