Unverified Commit 848554ba authored by Nick Ethier's avatar Nick Ethier
Browse files

client: add proper build flag to allocrunner testing.go

Showing with 5 additions and 1 deletion
+5 -1
......@@ -137,10 +137,12 @@ https://github.com/google/protobuf for more information.
**Note:** Building the Nomad UI from source requires Node, Yarn, and Ember CLI. These tools are already in the Vagrant VM. Read the [UI README](https://github.com/hashicorp/nomad/blob/master/ui/README.md) for more info.
To cross-compile Nomad, run `make release`. This will compile Nomad for multiple
To cross-compile Nomad, run `make prerelease` and `make release`.
This will generate all the static assets, compile Nomad for multiple
platforms and place the resulting binaries into the `./pkg` directory:
```sh
$ make prerelease
$ make release
...
$ ls ./pkg
......
// +build !release
package allocrunner
import (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment