Sha256: 0ec4b44ce5c52b35ddbd966fa331c5b2ecad5ace9b34a082fa6bc2d475760445

Contents?: true

Size: 1.05 KB

Versions: 8

Compression:

Stored size: 1.05 KB

Contents

tasks = {
  "shakapacker:info"                    => "Provides information on Shakapacker's environment",
  "shakapacker:install"                 => "Installs and setup webpack",
  "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_manager"           => "Verifies if the expected JS package manager is available",
  "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-8.0.2 lib/tasks/shakapacker.rake
shakapacker-8.0.1 lib/tasks/shakapacker.rake
shakapacker-7.2.3 lib/tasks/shakapacker.rake
shakapacker-7.3.0.beta.1 lib/tasks/shakapacker.rake
shakapacker-7.2.2 lib/tasks/shakapacker.rake
shakapacker-7.2.1 lib/tasks/shakapacker.rake
shakapacker-7.2.0 lib/tasks/shakapacker.rake
shakapacker-7.2.0.rc.0 lib/tasks/shakapacker.rake