Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 915 Bytes

building.md

File metadata and controls

43 lines (30 loc) · 915 Bytes
title menu_order
Building Weave Flux
80

Build

You'll need a working go environment (official releases are build against 1.10), including the dep tool.

It's also expected that you have a Docker daemon for building images.

Ensure the repository is checked out into $GOPATH/src/github.com/weaveworks/flux. Then, from the root,

$ 
$ dep ensure
# .. time passes ..
$ make

This makes Docker images, and installs binaries to $GOPATH/bin.

Test

$ make test

Dependency management

We use dep to manage vendored dependencies. Note that we do not check in the dependencies.

To get all the dependencies put in the vendor/ folder, use

$ dep ensure

If you see a big diff or other unexpected output after running dep ensure, make sure you're using the latest official release of dep.