lib/tasks/sewing_kit.rake in sewing_kit-0.4.6 vs lib/tasks/sewing_kit.rake in sewing_kit-0.5.0
- old
+ new
@@ -5,16 +5,16 @@
task :install do
exec "./bin/rails app:template LOCATION=#{TEMPLATE_PATH}"
end
desc "Build webpack asset bundles"
- task :compile => :environment do
+ task :build => :environment do
compiler = SewingKit::Webpack::Compiler.new
compiler.compile
end
end
if Rake::Task.task_defined?('assets:precompile')
Rake::Task['assets:precompile'].enhance do
- Rake::Task['sewing_kit:compile'].invoke
+ Rake::Task['sewing_kit:build'].invoke
end
end