lustre-labs / dev-tools

Lustre's CLI and development tooling: zero-config dev server, bundling, and scaffolding.
45 stars 15 forks source link

:bug: Use correct architecture names on FreeBSD for esbuild #36

Closed dch closed 4 months ago

dch commented 4 months ago

On FreeBSD, when running gleam run -m lustre/dev add esbuild, it fails due to incorrect architecture names. On FreeBSD, architectures are named differently to Linux. The URLs for downloading esbuild are correct, though.

# arm64
I ran into a problem trying to download the esbuild binary. I couldn't find a
compatible binary for the following platform:

    OS: freebsd
    CPU: aarch64

# x86_64
I ran into a problem trying to download the esbuild binary. I couldn't find a
compatible binary for the following platform:

    OS: freebsd
    CPU: amd64

test on both architectures, it's fixed. thanks!