From e4a5c6c4cd232e0a3c106f42def784eacccd3908 Mon Sep 17 00:00:00 2001 From: Kevin Groat Date: Sat, 16 Mar 2024 08:50:50 -0400 Subject: =?UTF-8?q?=F0=9F=94=80=20Add=20esbuild=20support=20for=20linux=20?= =?UTF-8?q?aarch64.=20(#61)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lustre/cli/esbuild.gleam | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3