mirror of https://github.com/docker/docs.git
fix integration test build of swarm
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
3e8d48f98e
commit
29deacba2f
|
|
@ -25,7 +25,7 @@ function join() {
|
||||||
|
|
||||||
# Build the Swarm binary (if not already built)
|
# Build the Swarm binary (if not already built)
|
||||||
function build_swarm() {
|
function build_swarm() {
|
||||||
[ -x $SWARM_BINARY ] || (cd $SWARM_ROOT && godep go build -o $SWARM_BINARY)
|
[ -x $SWARM_BINARY ] || (rm -f $SWARM_BINARY && cd $SWARM_ROOT && godep go build -o $SWARM_BINARY)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Run the swarm binary. You must NOT fork this command (swarm foo &) as the PID
|
# Run the swarm binary. You must NOT fork this command (swarm foo &) as the PID
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue