aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Groat <apps@kgroat.dev>2024-03-16 08:50:50 -0400
committerGitHub <noreply@github.com>2024-03-16 12:50:50 +0000
commite4a5c6c4cd232e0a3c106f42def784eacccd3908 (patch)
tree6c9bc3c2df0c3c0f5eac56413497700f2d9fee5f
parent3bab5eb8d1d1f98742a34ad9ebb45e7e059024b5 (diff)
downloadlustre-e4a5c6c4cd232e0a3c106f42def784eacccd3908.tar.gz
lustre-e4a5c6c4cd232e0a3c106f42def784eacccd3908.zip
🔀 Add esbuild support for linux aarch64. (#61)
-rw-r--r--src/lustre/cli/esbuild.gleam5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lustre/cli/esbuild.gleam b/src/lustre/cli/esbuild.gleam
index c8e4204..7fe613f 100644
--- a/src/lustre/cli/esbuild.gleam
+++ b/src/lustre/cli/esbuild.gleam
@@ -118,6 +118,7 @@ fn get_download_url(os, cpu) {
"freebsd", "arm64" -> Ok("freebsd-arm64/-/freebsd-arm64-0.19.10.tgz")
"freebsd", "x64" -> Ok("freebsd-x64/-/freebsd-x64-0.19.10.tgz")
+ "linux", "aarch64" -> Ok("linux-arm64/-/linux-arm64-0.19.10.tgz")
"linux", "arm" -> Ok("linux-arm/-/linux-arm-0.19.10.tgz")
"linux", "arm64" -> Ok("linux-arm64/-/linux-arm64-0.19.10.tgz")
"linux", "ia32" -> Ok("linux-ia32/-/linux-ia32-0.19.10.tgz")
@@ -209,8 +210,8 @@ There was a network error!",
// TODO: this could give a better error for some common reason like Enoent.
SimplifileError(reason, path) -> io.println("
I ran into the following error at path `" <> path <> "`:" <> string.inspect(
- reason,
- ) <> ".")
+ reason,
+ ) <> ".")
UnknownPlatform(os, cpu) -> io.println("
I couldn't figure out the correct esbuild version for your