mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
ac3388367b
Using "DEST" for our build artifacts inside individual bundlescripts was already well-established convention, but this officializes it by having `make.sh` itself set the variable and create the directory, also handling CYGWIN oddities in a single central place (instead of letting them spread outward from `hack/make/binary` like was definitely on their roadmap, whether they knew it or not; sneaky oddities). Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com> |
||
---|---|---|
.. | ||
.build-deb | ||
.build-rpm | ||
.dockerinit | ||
.dockerinit-gccgo | ||
.ensure-emptyfs | ||
.ensure-frozen-images | ||
.ensure-httpserver | ||
.go-autogen | ||
.go-compile-test-dir | ||
.integration-daemon-start | ||
.integration-daemon-stop | ||
.validate | ||
binary | ||
build-deb | ||
build-rpm | ||
cover | ||
cross | ||
dynbinary | ||
dyngccgo | ||
gccgo | ||
README.md | ||
test-docker-py | ||
test-integration-cli | ||
test-unit | ||
tgz | ||
ubuntu | ||
validate-dco | ||
validate-gofmt | ||
validate-test | ||
validate-toml | ||
validate-vet |
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