Sha256: 4f370fe800889d54e8fe189a0bb2285df244776d4ca419cbb1c5612868ee8053

Contents?: true

Size: 1.03 KB

Versions: 8

Compression:

Stored size: 1.03 KB

Contents

tasks = {
  "shakapacker:info"                    => "Provides information on Shakapacker's environment",
  "shakapacker:install"                 => "Installs and setup webpack with Yarn",
  "shakapacker:compile"                 => "Compiles webpack bundles based on environment",
  "shakapacker:clean"                   => "Remove old compiled bundles",
  "shakapacker:clobber"                 => "Removes the webpack compiled output directory",
  "shakapacker:check_node"              => "Verifies if Node.js is installed",
  "shakapacker:check_yarn"              => "Verifies if Yarn is installed",
  "shakapacker:check_binstubs"          => "Verifies that bin/shakapacker is present",
  "shakapacker:binstubs"                => "Installs Shakapacker binstubs in this application",
  "shakapacker:verify_install"          => "Verifies if Shakapacker is installed",
}.freeze

desc "Lists all available tasks in Shakapacker"
task :shakapacker do
  puts "Available Shakapacker tasks are:"
  tasks.each { |task, message| puts task.ljust(30) + message }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shakapacker-7.1.0 lib/tasks/shakapacker.rake
shakapacker-7.0.3 lib/tasks/shakapacker.rake
shakapacker-7.0.2 lib/tasks/shakapacker.rake
shakapacker-7.0.1 lib/tasks/shakapacker.rake
shakapacker-7.0.0 lib/tasks/shakapacker.rake
shakapacker-7.0.0.rc.2 lib/tasks/shakapacker.rake
shakapacker-7.0.0.rc.1 lib/tasks/shakapacker.rake
shakapacker-7.0.0.rc.0 lib/tasks/shakapacker.rake