Sha256: 56f4fae0bd07cea7a226c9cf162a58efc67daa577a4cec7f043f1c9dc65ba699

Contents?: true

Size: 393 Bytes

Versions: 4

Compression:

Stored size: 393 Bytes

Contents

namespace :webpacker do
  desc "Verifies that bin/webpack & bin/webpack-dev-server are present."
  task :check_webpack_binstubs do
    unless File.exist?("bin/webpack") && File.exist?("bin/webpack-dev-server")
      puts "Webpack binstubs not found.\n"\
           "Make sure the bin directory or binstubs are not included in .gitignore\n"\
           "Exiting!"
      exit!
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
webpacker-legacy-0.1.2 lib/tasks/webpacker/check_webpack_binstubs.rake
webpacker-legacy-0.1.1 lib/tasks/webpacker/check_webpack_binstubs.rake
webpacker-legacy-0.1.0 lib/tasks/webpacker/check_webpack_binstubs.rake
webpacker-2.0 lib/tasks/webpacker/check_webpack_binstubs.rake