sudosurootdev
2a1181f404
Spelling error.
2014-01-04 23:15:15 -05:00
Ryan O'Donnell
ad80da3389
Fixes Issue #3400
...
See Issue #3400
2013-12-30 20:58:25 -05:00
Sven Dowideit
83d81758b0
use the Makefile - it makes life so much simpler
2013-12-23 23:46:52 +10:00
Tianon Gravi
62a81370ff
Add new "cross" bundle to cross-compile the Docker client for other platforms (currently just 32-bit and 64-bit OS X)
2013-12-19 11:33:49 -07:00
Tianon Gravi
fbac812540
Add -a to our BUILDFLAGS directly, which fixes some fun test compilation issues
...
Also, now that we use "-a", we no longer get any benefit from "go test -i", and it actually causes problems sometimes, so let's nuke it.
2013-12-18 11:32:25 -07:00
Tianon Gravi
eddda577a4
Fix "go tool cover" detection to only add -cover and -coverprofile if we both have cover support in Go, and if we have the cover tool downloaded
2013-12-16 22:54:06 -07:00
Tianon Gravi
59dc2876a7
Add new cover bundlescript for giving a nice report across all the coverprofiles generated by the test scripts
2013-12-13 11:59:54 -07:00
Tianon Gravi
f0879a1e14
Add separate "test-integration" bundlescript (and corresponding dyntest-integration bundlescript)
2013-12-08 18:43:24 -07:00
Tianon Gravi
dcfc4ada4d
Clean output and simplify hack/make/*test by adding go_test_dir function in make.sh
2013-12-08 13:49:57 -07:00
Solomon Hykes
8bd6127ab3
Merge pull request #2815 from tianon/hack-make-tgz
...
Add tgz bundlescript
2013-11-25 21:29:14 -08:00
Tianon Gravi
b3f5973f41
Add new tgz bundlescript to default make and release
2013-11-21 22:34:54 -07:00
Tianon Gravi
efd0e13ca7
Add support for compiling using make.sh without '.git' (ie, from a Github tarball, for example)
2013-11-21 15:11:17 -07:00
Tianon Gravi
21161dbd51
Add dynbinary and dyntest scripts for building/testing a separate static dockerinit binary
...
After a nice long brainstorming session with @shykes on IRC, we decided on using a SHA1 hash of dockerinit compiled into the dynamic docker binary to ensure that we always use the two in a perfect pair, and never mix and match.
2013-10-25 15:13:25 -07:00
Tianon Gravi
d789750851
Refactor the handling of static-related build flags
...
This is as discussed with @shykes on IRC
2013-10-25 15:13:25 -07:00
Tianon Gravi
fb8d488896
Add a few small consistency tweaks in hack
2013-10-25 15:13:25 -07:00
Michael Crosby
1cbdaebaa1
Add links for container relationships and introspection
2013-10-25 15:13:24 -07:00
Jérôme Petazzoni
85956c70b5
Change bundle order, and fix shell array expansion.
...
I believe that it is helpful to build the binary first. That way,
if you interrupt the tests, you still get a binary to play with.
If you run the tests first and interrupt them, no binary for you!
Also, the second part of this commit is an undeniable proof that
Bash array syntax is nothing else than an elaborate troll by Bash
authors.
2013-10-17 23:20:18 -07:00
Tianon Gravi
83a2e92d47
Update hack/release.sh process to automatically invoke hack/make.sh and bail on building/testing issues
2013-10-17 16:49:35 -06:00
Tianon Gravi
ccefe47897
Add cleanup/refactor portion of #2010 for hack and Dockerfile updates
2013-09-30 13:57:30 -06:00
Tianon Gravi
aa3de0b849
Add several of the small make.sh fixes from #1920 , and make the output more consistent and contributor-friendly, since release instructions already exist in release.sh
2013-09-24 14:36:20 -06:00
Solomon Hykes
ebee8f28ac
hack/make.sh print a warning but don't exit if called outside a correct build environment.
2013-09-10 18:08:02 -07:00
Solomon Hykes
228b7af516
Remove fixed FIXMEs
2013-09-10 11:33:37 -07:00
Solomon Hykes
d14058bc29
Update usage comments in hack/make.sh
2013-09-10 11:33:26 -07:00
Solomon Hykes
3d39336a46
Break down hack/make.sh into small scripts, one per 'bundle': test, binary, ubuntu etc.
2013-09-09 18:45:40 -07:00
Solomon Hykes
b187cc40cd
Integrate unit tests into hack/make.sh
2013-09-09 16:20:30 -07:00
Solomon Hykes
4cd59b96ed
Hack: we no longer need to generate test binaries.
2013-09-08 18:45:23 -07:00
Solomon Hykes
47838051be
Hack: improve the Dockerfile for an easier development workflow. Build dev container once, run a shell with source mount-binded, run tests as you edit. LIKE A BOSS.
2013-09-06 20:14:03 -07:00