Skip to content

Commit

Permalink
build: add Linux ARM64 arch support (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusprubio authored Apr 16, 2023
1 parent 3e0905a commit 86f779a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
# Ref: https://github.com/denoland/deno_install
# TODO(everyone): Keep this script simple and easily auditable.

# TODO(mf): this should work on Linux and macOS. Not intended for Windows.
# TODO(mf): this should work on Linux and macOS. Not intended for Windows.

set -e

os=$(uname -s)
os=$(uname -s | tr '[:upper:]' '[:lower:]')
arch=$(uname -m)

if [ "$arch" = "aarch64" ]; then
arch="arm64"
fi

if [ $# -eq 0 ]; then
goose_uri="https://github.com/pressly/goose/releases/latest/download/goose_${os}_${arch}"
else
Expand Down

0 comments on commit 86f779a

Please sign in to comment.