summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Bassi <calebjbassi@gmail.com>2018-04-10 20:25:14 -0700
committerCaleb Bassi <calebjbassi@gmail.com>2018-04-10 20:35:28 -0700
commit078f3d573ca4cd84e45035e27d8cc606120bfbb3 (patch)
tree07fbdc1157d1a17e970d8f7c2ae0b91fe00baa81
parent4e803bb5e732fed48971acdc782c92cbcafc827e (diff)
Add support for darwin_386
-rw-r--r--.goreleaser.yml3
-rw-r--r--README.md2
-rwxr-xr-xdownload.sh1
3 files changed, 2 insertions, 4 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml
index b6828db..2ea1b6f 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 55b08d1..d0c2fad 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 29daf3f..1fefa70 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