Skip to content

Commit

Permalink
fix: add arm64 elm package for darwin (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
zellyn authored Jul 14, 2024
1 parent c37ffb7 commit 916f80e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion elm.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ linux {
}
}

darwin {
platform darwin amd64 {
source = "https://github.com/elm/compiler/releases/download/${version}/binary-for-mac-64-bit.gz"

on "unpack" {
Expand All @@ -23,6 +23,17 @@ darwin {
}
}

platform darwin arm64 {
source = "https://github.com/elm/compiler/releases/download/${version}/binary-for-mac-64-bit-ARM.gz"

on "unpack" {
rename {
from = "${root}/binary-for-mac-64-bit-ARM"
to = "${root}/elm"
}
}
}

version "0.19.1" {
auto-version {
github-release = "elm/compiler"
Expand Down

0 comments on commit 916f80e

Please sign in to comment.