Sha256: 3f7b7c50ff1a03800b32d4d46adc518141fded982a9f39681ac280d6333559c8
Contents?: true
Size: 368 Bytes
Versions: 9
Compression:
Stored size: 368 Bytes
Contents
namespace :webpacker_lite do desc "Verifies if yarn is installed" task :check_yarn do begin version = `yarn --version` raise Errno::ENOENT if version.blank? rescue Errno::ENOENT puts "WebpackerLite requires yarn. Please download and install Yarn https://yarnpkg.com/lang/en/docs/install/" puts "Exiting!" && exit! end end end
Version data entries
9 entries across 9 versions & 1 rubygems