From bd420df88f8f0c28d52f2ba9e88a28ab60170d73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B6derberg?= Date: Wed, 31 Oct 2018 21:21:53 +0100 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cb3f27d..c8e2e16 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ platforms. Gox will also build the cross-compilation toolchain for you. To install Gox, please use `go get`. We tag versions so feel free to checkout that tag and compile. -``` +```bash $ go get github.com/mitchellh/gox ... $ gox -h @@ -23,7 +23,7 @@ example, to build the current package, specify no parameters and just call `gox`. Gox will parallelize based on the number of CPUs you have by default and build for every platform by default: -``` +```bash $ gox Number of parallel builds: 4 @@ -47,28 +47,28 @@ Number of parallel builds: 4 Or, if you want to build a package and sub-packages: -``` +```bash $ gox ./... ... ``` Or, if you want to build multiple distinct packages: -``` +```bash $ gox github.com/mitchellh/gox github.com/hashicorp/serf ... ``` Or if you want to just build for linux: -``` +```bash $ gox -os="linux" ... ``` Or maybe you just want to build for 64-bit linux: -``` +```bash $ gox -osarch="linux/amd64" ... ```