mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
Generate homebrew script compatible with latest changes
Fixes https://github.com/dart-lang/homebrew-dart/issues/58 Change-Id: I23e38db5448c5d8ceb55d57689eda0eecf80c630 Reviewed-on: https://dart-review.googlesource.com/c/88883 Auto-Submit: Kevin Moore <kevmoo@google.com> Reviewed-by: Alexander Thomas <athom@google.com> Commit-Queue: Alexander Thomas <athom@google.com>
This commit is contained in:
parent
edb68daa2c
commit
8719fb3a7b
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ class Dart < Formula
|
|||
homepage "https://www.dartlang.org/"
|
||||
|
||||
version "$stableVersion"
|
||||
if MacOS.prefer_64_bit?
|
||||
if Hardware::CPU.is_64_bit?
|
||||
url "$_urlBase/stable/release/${revisions['stable']}/$_x64File"
|
||||
sha256 "${hashes['stable'][_x64File]}"
|
||||
else
|
||||
|
@ -92,7 +92,7 @@ class Dart < Formula
|
|||
|
||||
devel do
|
||||
version "$devVersion"
|
||||
if MacOS.prefer_64_bit?
|
||||
if Hardware::CPU.is_64_bit?
|
||||
url "$_urlBase/dev/release/${revisions['dev']}/$_x64File"
|
||||
sha256 "${hashes['dev'][_x64File]}"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue