summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2020-02-20 10:05:58 -0600
committerSean E. Russell <ser@ser1.net>2020-02-20 12:35:18 -0600
commit5f37965467eb89f6d7e2cb83fe20ed1de25ab9a7 (patch)
tree46de122a279e78f4b4559df74bb5a8ddae613942 /README.md
parentf96a97c3d8f5b8cd87a6e2f1fd1d0a4032c429a7 (diff)
Builds for darwin; requires docker.
osxcross has an old go; make go.mod match. Directory clean-ups
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index a3ff80c..ca7be96 100644
--- a/README.md
+++ b/README.md
@@ -32,6 +32,23 @@ Visit [here](https://github.com/xxxserxxx/gotop/releases) with your web browser
Unzip it and then move `gotop` into your `$PATH` somewhere. If you're on a Debian or Redhat derivative, you can download an `.rpm` or `.deb` to install.
+### Building
+
+The easiest way is to
+```
+go get github.com/xxxserxxx/gotop/cmd/gotop
+```
+
+To create the cross-compile builds, there's a `make.sh` script; it has a lot of dependencies and has only been tested on my computer. When it works, it creates archives for numerous OSes & architectures. There's no testing for whether dependencies are available; it assumes they are and will fail in strange ways when they aren't.
+
+- bash
+- Go
+- zip
+- nfpm (for deb & rpm)
+- docker (for darwin)
+
+It is *just* smart enough to not rebuild things when it doesn't have to, and it tries to keep the darwin docker container around so it's not building from scratch every time. There are no guarantees.
+
## Usage
### Keybinds