File: check_yarn.rake

package info (click to toggle)
ruby-webpacker 4.2.2-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,436 kB
  • sloc: ruby: 1,563; javascript: 1,403; makefile: 4
file content (7 lines) | stat: -rw-r--r-- 177 bytes parent folder | download
1
2
3
4
5
6
7
namespace :webpacker do
  desc "Verifies if Yarn is installed"
  task :check_yarn do
    yarn_version = `yarnpkg --version`
    puts "Yarn version is #{yarn_version}"
  end
end