Sha256: 0a972e707fe5a5de699ab82f2cff06324ecb0d51becc45d61dbb0ab9ed926da0

Contents?: true

Size: 408 Bytes

Versions: 24

Compression:

Stored size: 408 Bytes

Contents

namespace :webpacker do
  desc "Verifies that bin/webpacker is present"
  task :check_binstubs do
    unless File.exist?(Rails.root.join("bin/webpacker"))
      $stderr.puts "webpacker binstub not found.\n"\
           "Have you run rails webpacker:install ?\n"\
           "Make sure the bin directory and bin/webpacker are not included in .gitignore\n"\
           "Exiting!"
      exit!
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
shakapacker-6.6.0 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.5.6 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.5.5 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.5.4 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.5.3 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.5.2 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.5.1 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.5.0 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.4.1 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.4.0 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.3.0 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.3.0.pre.rc.1 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.2.1 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.2.0 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.1.1 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.1.0 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.1.0.beta.0 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.0.2 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.0.1 lib/tasks/webpacker/check_binstubs.rake
shakapacker-6.0.0 lib/tasks/webpacker/check_binstubs.rake