mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
AutoBuild: update-bun started at 2025-04-19-08UTC (#11758)
* bun 1.2.7 => 1.2.10 * Fix syntax --------- Co-authored-by: SupeChicken666 <supechicken666@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a02ca18ee2
commit
7bb74b41b8
@@ -3,7 +3,7 @@ require 'package'
|
||||
class Bun < Package
|
||||
description 'Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one'
|
||||
homepage 'https://bun.sh/'
|
||||
version '1.2.7'
|
||||
version '1.2.10'
|
||||
license 'MIT'
|
||||
compatibility 'x86_64'
|
||||
source_url 'SKIP'
|
||||
@@ -12,8 +12,7 @@ class Bun < Package
|
||||
no_shrink
|
||||
|
||||
def self.install
|
||||
ENV['BUN_INSTALL'] = CREW_DEST_PREFIX.to_s
|
||||
system "curl -fsSL https://bun.sh/install | bash -s 'bun-v#{version}'"
|
||||
system "curl -fsSL https://bun.sh/install | BUN_INSTALL='#{CREW_DEST_PREFIX}' bash -s 'bun-v#{version}'"
|
||||
FileUtils.ln_sf "#{CREW_PREFIX}/bin/bun", "#{CREW_DEST_PREFIX}/bin/bunx"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user