Sha256: c012663ad8c4516cbfb8451c2f2676e6484a019a8a2096fb23e519d339631407
Contents?: true
Size: 650 Bytes
Versions: 1
Compression:
Stored size: 650 Bytes
Contents
# 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 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 else Rake::Task.define_task("assets:precompile" => %w(sewing_kit:build)) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sewing_kit-0.123.0 | lib/tasks/sewing_kit.rake |