From 078f3d573ca4cd84e45035e27d8cc606120bfbb3 Mon Sep 17 00:00:00 2001 From: Caleb Bassi Date: Tue, 10 Apr 2018 20:25:14 -0700 Subject: [PATCH] Add support for darwin_386 --- .goreleaser.yml | 3 --- README.md | 2 +- download.sh | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index b6828dba..2ea1b6f3 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -17,8 +17,5 @@ builds: goarch: - amd64 - 386 - ignore: - - goos: darwin - goarch: 386 archive: format: tgz diff --git a/README.md b/README.md index 55b08d15..d0c2fad0 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Built with [gopsutil](https://github.com/shirou/gopsutil), [drawille-go](https:/ ## Installation -Go programs compile to a single binary and there are currently prebuilt ones for 32/64bit Linux and 64bit OSX. Either clone the repo and run [download.sh](https://github.com/cjbassi/gotop/blob/master/download.sh) to download the correct binary, use the AUR if you're on Arch Linux, or build from source. +Go programs compile to a single binary and there are currently prebuilt ones for 32/64bit Linux and 32/64bit OSX. Either clone the repo and run [download.sh](https://github.com/cjbassi/gotop/blob/master/download.sh) to download the correct binary, use the AUR if you're on Arch Linux, or build from source. ### Using Git diff --git a/download.sh b/download.sh index 29daf3f4..1fefa70d 100755 --- a/download.sh +++ b/download.sh @@ -14,6 +14,7 @@ case "$arch" in Linux\ *64) download linux_amd64 ;; Linux\ *86) download linux_386 ;; Darwin\ *64) download darwin_amd64 ;; + Darwin\ *86) download darwin_386 ;; *) echo "No binary found for your system" exit 1