Sha256: d4d13888eb5ef8bd841e0275ac45e38e1bcc91a14289cf4cf3f47554d5a06b3f
Contents?: true
Size: 546 Bytes
Versions: 19
Compression:
Stored size: 546 Bytes
Contents
module BinInstall module Yarn def self.install puts 'Installing Yarn...'.white Brew::Package.install_or_upgrade('yarn') system('yarn install') end def self.install! puts 'Installing Yarn...'.white Brew::Package.install_or_upgrade!('yarn') BinInstall.system!('yarn install') end def self.upgrade system('yarn upgrade') end def self.upgrade! BinInstall.system!('yarn upgrade') end def self.installed? Shell.executable_exists?('yarn') end end end
Version data entries
19 entries across 19 versions & 1 rubygems