Skip to content

Commit

Permalink
Generate homebrew script compatible with latest changes
Browse files Browse the repository at this point in the history
Fixes #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>
  • Loading branch information
kevmoo authored and athomas committed Jul 1, 2021
1 parent c93614e commit 8f2f314
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/impl.dart
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8f2f314

Please sign in to comment.