Sha256: 49c96e107bae3a27383c4cad9b34670842549b205aa33214cd5a3b77c83fe0b8
Contents?: true
Size: 369 Bytes
Versions: 20
Compression:
Stored size: 369 Bytes
Contents
namespace :yarn do desc "Install all JavaScript dependencies as specified via Yarn" task :install do system("./bin/yarn install --no-progress") end end # Run Yarn prior to Sprockets assets precompilation, so dependencies are available for use. if Rake::Task.task_defined?("assets:precompile") Rake::Task["assets:precompile"].enhance [ "yarn:install" ] end
Version data entries
20 entries across 20 versions & 1 rubygems