1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/project/make
Arnaud Porterie ce86d5ae68 Adapt project/make.sh for Windows builds
Fixes:
- link -H windows is not compatible with -linkmode external
- under Cygwin go does not play well with cygdrive type paths

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2014-11-19 13:41:57 -08:00
..
.ensure-busybox
.ensure-scratch
.go-compile-test-dir
.validate
binary Adapt project/make.sh for Windows builds 2014-11-19 13:41:57 -08:00
cover
cross
dynbinary
dyntest-integration
dyntest-unit
README.md
test-integration
test-integration-cli
test-unit
tgz
ubuntu
validate-dco
validate-gofmt

This directory holds scripts called by make.sh in the parent directory.

Each script is named after the bundle it creates. They should not be called directly - instead, pass it as argument to make.sh, for example:

./hack/make.sh test
./hack/make.sh binary ubuntu

# Or to run all bundles:
./hack/make.sh

To add a bundle:

  • Create a shell-compatible file here
  • Add it to $DEFAULT_BUNDLES in make.sh