Add support for darwin_386

This commit is contained in:
Caleb Bassi 2018-04-10 20:25:14 -07:00
parent 4e803bb5e7
commit 078f3d573c
3 changed files with 2 additions and 4 deletions

View File

@ -17,8 +17,5 @@ builds:
goarch:
- amd64
- 386
ignore:
- goos: darwin
goarch: 386
archive:
format: tgz

View File

@ -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

View File

@ -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