Sha256: 01dd38c89b5ca9526fa71d0281cc0329116a3be998851fcff0a5fe59153bb11b
Contents?: true
Size: 548 Bytes
Versions: 14
Compression:
Stored size: 548 Bytes
Contents
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 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:build'].invoke end end
Version data entries
14 entries across 14 versions & 1 rubygems