1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/hack/make
Sebastiaan van Stijn 6d5e468db1
Fix .go-autogen warnings
The `.integration-test-helpers` script was sourced by `/etc/bash/bash.rc`.
However, the `$SCRIPTDIR` environment variable is set through `hack/make.sh`,
so will not be set when calling the `.integration-test-helpers` script directly.

Before this patch;

    make BIND_DIR=. shell
    ...
    bash: /make/.go-autogen: No such file or directory

After this patch, the warning is no longer printed

Also removed sourcing `.go-autogen` from test-integration and build-integration-test-binary,
as they already sourced `.integration-test-helpers` (which sources
`.go-autogen`).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-11-01 12:03:32 +01:00
..
.build-deb Remove cmd/docker and other directories in cli/ in accordance with the new Moby project scope 2017-05-05 12:14:29 -07:00
.build-rpm Merge pull request #32437 from cpuguy83/container_selinux 2017-05-12 09:23:17 -04:00
.resources-windows Windows: Support running dockerd as a service 2016-04-26 14:04:47 -07:00
.binary More helper hack helper functions to a more appropriate place. 2017-07-17 11:38:59 -04:00
.binary-setup Remove pkcs11, libltdl-dev, and clang for osx. 2017-06-21 11:18:44 -04:00
.detect-daemon-osarch do not show errors on make install 2017-04-04 15:19:50 +02:00
.ensure-emptyfs Protect images in the integration/ suite 2017-08-09 11:02:57 -04:00
.go-autogen Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
.go-autogen.ps1 Switch to new versioning scheme 2017-02-15 23:22:50 -08:00
.integration-daemon-setup Cleanup test output, and binaries. 2017-08-09 11:02:57 -04:00
.integration-daemon-start Remove config tests, which are now unit tests in docker/cli 2017-08-18 14:24:52 -04:00
.integration-daemon-stop Cleanup test output, and binaries. 2017-08-09 11:02:57 -04:00
.integration-test-helpers Fix .go-autogen warnings 2017-11-01 12:03:32 +01: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 More helper hack helper functions to a more appropriate place. 2017-07-17 11:38:59 -04:00
build-deb Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
build-integration-test-binary Fix .go-autogen warnings 2017-11-01 12:03:32 +01:00
build-rpm Rely on container-selinux for centos/fedora25/rhel 2017-05-01 11:23:18 -04:00
clean-apt-repo Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
clean-yum-repo Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
cover Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
cross remove cli concerns from hack/make 2017-06-21 11:20:05 -04:00
dynbinary Remove cmd/docker and other directories in cli/ in accordance with the new Moby project scope 2017-05-05 12:14:29 -07:00
dynbinary-daemon remove cli concerns from hack/make 2017-06-21 11:20:05 -04:00
generate-index-listing Spelling fixes 2017-07-03 13:13:09 -07:00
install-binary hack: Remove install-binary-client 2017-05-08 10:50:31 -07:00
install-binary-daemon More helper hack helper functions to a more appropriate place. 2017-07-17 11:38:59 -04:00
README.md Remove test-unit from hack/make 2017-07-17 11:39:33 -04:00
release-deb Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
release-rpm Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
run Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
sign-repos Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
test-docker-py Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
test-integration Fix .go-autogen warnings 2017-11-01 12:03:32 +01:00
test-integration-cli Cleanup test output, and binaries. 2017-08-09 11:02:57 -04:00
test-integration-shell Protect images in the integration/ suite 2017-08-09 11:02:57 -04:00
test-old-apt-repo Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
ubuntu Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
update-apt-repo Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
win Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00

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