Commit Graph

14 Commits (11525d357f18481da1b6f6d990a50486d8e0f9a7)

Author SHA1 Message Date
Yicheng Qin e624d4ef33 fix(build): make build run well
1. remove unnecessary target directory
2. comparison update to run on linux
2014-04-04 11:32:19 -07:00
Yicheng Qin f0dee63716 chore(build): update gofmt target 2014-04-03 17:03:50 -07:00
Yicheng Qin 3fece6a716 feat(test): check format conditions in test
And add option '--fmt' in build script to gofmt files automatically.
2014-04-02 17:57:53 -07:00
Brandon Philips 33be0e09fe fix(build/test.sh): use new GOPATH setup 2014-02-02 16:57:36 -08:00
Brandon Philips 0f97e3528a chore(build): use third_party.go
use the third_party.go project to replace our update script. This
requires moving a few things around and gets rid of a few annoying bugs:

- You can now bump individual packages
- A new src directory isn't created on build
- Less shell scripting!
- Things get built into ./bin/
2014-01-14 22:14:47 -08:00
Brandon Philips cc88215b46 fix(bench): initial commit 2013-12-20 15:19:02 -08:00
Ben Johnson 4fb3a01f25 Update build script to fail on error. 2013-10-17 10:02:59 -06:00
Ben Johnson eb78d96a20 Intermediate commit. 2013-10-12 00:28:46 -06:00
Brandon Philips aff4af1d0b fix(build): use /bin/sh
it seems to work with bash -o posix. Ship it.
2013-09-25 17:04:05 -07:00
Michael Marineau e856acf05e fix(build): If you quote in shell you're going to have a bad time. 2013-08-21 17:25:38 -04:00
Brandon Philips a7deba0f90 feat(version): generate version from git tags
This will generate the version based on git tags. So if it is built
directly on a tag it will use the tag name and if it is built off a
commit that isn't a tag it will look like:

    $ curl localhost:7001
    0-267-ga39cf1c
2013-08-06 15:39:30 -07:00
Brandon Philips 5f6d331e6a feat(third_party): use this directory
The third_party directory has all of the dependencies needed to build
etcd so that we can have a consistent build. `go get` should not be
called at any point during the build process.
2013-08-06 11:38:43 -07:00
Brandon Philips 01e5d41f91 fix(build): export GOPATH
Major mistake. GOPATH must be exported for go get/go build to work.
2013-07-10 16:01:09 -07:00
Brandon Philips 1eb0be10fe feat(build): add initial build script
add a simple build script that sets up a gopath and uses the current git
directory for the github.com/coreos/etcd packages.

There aren't a lot of great alternatives to doing it this way unless we
want to check in all of the dependencies into the repo (which is
actually a good practice probably).
2013-07-10 15:45:15 -07:00