lib/tasks/sewing_kit.rake in sewing_kit-0.7.1 vs lib/tasks/sewing_kit.rake in sewing_kit-0.8.0
- old
+ new
@@ -1,14 +1,15 @@
+# frozen_string_literal: true
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}"
end
desc "Build webpack asset bundles"
- task :build => :environment do
+ task build: :environment do
compiler = SewingKit::Webpack::Compiler.new
compiler.compile
end
end