Skip to content

Commit 810c6b9

Browse files
Gussyalecthomas
andauthored
Add amber (#627)
Adds the cli tool for [Amber](https://amber-lang.com/) - "A language compiled to Bash." --------- Co-authored-by: Alec Thomas <aat@block.xyz>
1 parent 719248c commit 810c6b9

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

amber.hcl

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
description = "A language compiled to Bash."
2+
homepage = "https://amber-lang.com/"
3+
binaries = ["amber"]
4+
strip = 1
5+
6+
platform "darwin" {
7+
source = "https://github.com/amber-lang/amber/releases/download/${version}/amber-${xarch}-apple-darwin.tar.xz"
8+
}
9+
10+
platform "linux" {
11+
source = "https://github.com/amber-lang/amber/releases/download/${version}/amber-${xarch}-unknown-linux-gnu.tar.xz"
12+
}
13+
14+
// Override "latest" channel
15+
channel "latest" {
16+
update = "24h"
17+
version = "0.*"
18+
}
19+
20+
version "0.3.5-alpha" "0.4.0-alpha" {
21+
auto-version {
22+
github-release = "amber-lang/amber"
23+
}
24+
}
25+
26+
sha256sums = {
27+
"https://github.com/amber-lang/amber/releases/download/0.4.0-alpha/amber-x86_64-apple-darwin.tar.xz": "b1b79571b01eab179b5a4bc21b60801e0ff1e1b009e1c1079232ef7710d33418",
28+
"https://github.com/amber-lang/amber/releases/download/0.4.0-alpha/amber-aarch64-apple-darwin.tar.xz": "9314ce1bbf26358344db04139367c3d55d49641d7ad5807ab258042807d167fd",
29+
"https://github.com/amber-lang/amber/releases/download/0.4.0-alpha/amber-aarch64-unknown-linux-gnu.tar.xz": "8ca9b0d35cb935042e280bf06ba8c2ad30f212dee77fff5d525cc58fcca3e226",
30+
"https://github.com/amber-lang/amber/releases/download/0.4.0-alpha/amber-x86_64-unknown-linux-gnu.tar.xz": "db6604bd4d5f021733a531b70b3e96c6eddc92f58ea8a4a2a84c94cb75a724f2",
31+
"https://github.com/amber-lang/amber/releases/download/0.3.5-alpha/amber-aarch64-apple-darwin.tar.xz": "144ee31d302105192d0be5b8a05a51e9a9e013afaafffd3d4495bd94e47d6260",
32+
"https://github.com/amber-lang/amber/releases/download/0.3.5-alpha/amber-aarch64-unknown-linux-gnu.tar.xz": "9a15f6dda2dd654cde5a41ad659e539fdd306e6a8c09f180042cc64ca4f67eac",
33+
"https://github.com/amber-lang/amber/releases/download/0.3.5-alpha/amber-x86_64-unknown-linux-gnu.tar.xz": "46fc6e98bd1a036cc40360724a2f2f17f2fef794aedac35fd885cd2c346460a4",
34+
"https://github.com/amber-lang/amber/releases/download/0.3.5-alpha/amber-x86_64-apple-darwin.tar.xz": "27fba57e2cde55be87b762a37dc895e64acfa7886b41f3774150bf3b520621ee",
35+
}

0 commit comments

Comments
 (0)