moby--moby/hack/make
Sebastiaan van Stijn 6186e9fe87
hack/make/.go-autogen: fix "generated code" comment not in correct format
As described in https://golang.org/s/generatedcode, Go has
a formalized format that should be used to indicate that a
file is generated.

Matching that format helps linters to skip generated files;

From https://golang.org/s/generatedcode (https://github.com/golang/go/issues/13560#issuecomment-288457920);

> Generated files are marked by a line of text that matches the regular expression, in Go syntax:
>
> ^// Code generated .* DO NOT EDIT\.$
>
> The `.*` means the tool can put whatever folderol it wants in there, but the comment
> must be a single line and must start with `Code generated` and end with `DO NOT EDIT.`,
> with a period.
>
> The text may appear anywhere in the file.

This patch updates the autogenerated code to match that format.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-11-05 11:32:43 -08:00
..
.resources-windows hack/make: remove autogen resources for Docker CLI 2019-09-11 15:16:07 +02:00
.binary imporve hardcoded CC on cross compile 2019-07-17 17:42:14 +08:00
.binary-setup rootless: expose ports automatically 2019-03-21 02:44:08 +09:00
.detect-daemon-osarch Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
.ensure-emptyfs Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
.go-autogen hack/make/.go-autogen: fix "generated code" comment not in correct format 2019-11-05 11:32:43 -08:00
.go-autogen.ps1 hack/make: remove autogen resources for Docker CLI 2019-09-11 15:16:07 +02:00
.integration-daemon-setup Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
.integration-daemon-start hack: fix mixed tabs/spaces for indentation 2019-08-02 15:58:33 +02:00
.integration-daemon-stop hack/make: don't attempt to unmount non-existing daemon root-dir 2019-10-11 00:34:53 +02:00
.integration-test-helpers Fix TEST_FILTER to work for both "integration" and "integration-cli" 2019-10-21 14:03:58 +02:00
README.md Remove test-unit from hack/make 2017-07-17 11:39:33 -04:00
binary Remove cmd/docker and other directories in cli/ in accordance with the new Moby project scope 2017-05-05 12:14:29 -07:00
binary-daemon hack/make/binary-daemon: fix some linting issues 2019-08-31 12:12:25 +02:00
build-integration-test-binary hack: remove integration-cli-on-swarm 2019-06-01 04:45:26 +09:00
containerutility Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
cross Add support for setting GOARM in cross target. 2019-04-17 13:19:14 -07:00
cross-platform-dependent Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
dynbinary hack: fix mixed tabs/spaces for indentation 2019-08-02 15:58:33 +02:00
dynbinary-daemon Add osusergo build tar for static binaries 2018-07-19 12:25:46 +03:00
install-binary rootless: expose ports automatically 2019-03-21 02:44:08 +09:00
run Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
test-docker-py bump docker-py to 4.1.0 2019-10-03 16:51:03 +02:00
test-integration integration: simplify parallel run destination 2019-09-11 17:18:38 +02:00
test-integration-cli Fixed typo DEREPCATED -> DEPRECATED. 2017-12-29 06:39:09 -05:00
test-integration-flaky Improve integration test detecetor 2019-08-07 08:43:43 -07:00
test-integration-shell Protect images in the integration/ suite 2017-08-09 11:02:57 -04:00

README.md

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 binary ubuntu

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

To add a bundle:

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