yarn 380 B

12345678910111213
  1. #!/usr/bin/env ruby
  2. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  3. APP_ROOT = File.expand_path('..', __dir__)
  4. Dir.chdir(APP_ROOT) do
  5. begin
  6. exec "yarnpkg", *ARGV
  7. rescue Errno::ENOENT
  8. $stderr.puts "Yarn executable was not detected in the system."
  9. $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
  10. exit 1
  11. end
  12. end