https://github.com/etcd-io/etcd
Raw File
Tip revision: 99dcc8c3220d487e1d325ae1a041007260009c73 authored by Brandon Philips on 02 June 2014, 22:25:03 UTC
chore(server): bump back to 0.4.2
Tip revision: 99dcc8c
build
#!/bin/sh -e

if [ ! -h gopath/src/github.com/coreos/etcd ]; then
	mkdir -p gopath/src/github.com/coreos/
	ln -s ../../../.. gopath/src/github.com/coreos/etcd
fi

export GOBIN=${PWD}/bin
export GOPATH=${PWD}/gopath
export GOFMTPATH="./bench ./config ./discovery ./etcd ./error ./http ./log main.go ./metrics ./mod ./server ./store ./tests"

# Don't surprise user by formatting their codes by stealth
if [ "--fmt" = "$1" ]; then
	gofmt -s -w -l $GOFMTPATH
fi

go install github.com/coreos/etcd
go install github.com/coreos/etcd/bench
back to top