Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 6bc2703

Browse files
committed
Rename script folder to hack
It's mostly because `docker/docker` and most of the project I'm working on uses `hack` instead of `script` 🐸 Signed-off-by: Vincent Demeester <[email protected]>
1 parent f148f87 commit 6bc2703

28 files changed

+19
-19
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ ENV DOCKER_CROSSPLATFORMS \
6060
windows/amd64 windows/386
6161

6262
# Wrap all commands in the "docker-in-docker" script to allow nested containers
63-
ENTRYPOINT ["script/dind"]
63+
ENTRYPOINT ["hack/dind"]
6464

6565
COPY . /go/src/github.com/docker/libcompose

Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,28 @@ DOCKER_RUN_LIBCOMPOSE := docker run --rm -i $(TTY) --privileged -e DAEMON_VERSIO
2424
default: binary
2525

2626
all: build ## validate all checks, build linux binary, run all tests\ncross build non-linux binaries
27-
$(DOCKER_RUN_LIBCOMPOSE) ./script/make.sh
27+
$(DOCKER_RUN_LIBCOMPOSE) ./hack/make.sh
2828

2929
binary: build ## build the linux binary
30-
$(DOCKER_RUN_LIBCOMPOSE) ./script/make.sh binary
30+
$(DOCKER_RUN_LIBCOMPOSE) ./hack/make.sh binary
3131

3232
cross-binary: build ## cross build the non linux binaries (windows, darwin)
33-
$(DOCKER_RUN_LIBCOMPOSE) ./script/make.sh cross-binary
33+
$(DOCKER_RUN_LIBCOMPOSE) ./hack/make.sh cross-binary
3434

3535
test: build ## run the unit, integration and acceptance tests
36-
$(DOCKER_RUN_LIBCOMPOSE) ./script/make.sh binary test-unit test-integration test-acceptance
36+
$(DOCKER_RUN_LIBCOMPOSE) ./hack/make.sh binary test-unit test-integration test-acceptance
3737

3838
test-unit: build ## run the unit tests
39-
$(DOCKER_RUN_LIBCOMPOSE) ./script/make.sh test-unit
39+
$(DOCKER_RUN_LIBCOMPOSE) ./hack/make.sh test-unit
4040

4141
test-integration: build ## run the integration tests
42-
$(DOCKER_RUN_LIBCOMPOSE) ./script/make.sh binary test-integration
42+
$(DOCKER_RUN_LIBCOMPOSE) ./hack/make.sh binary test-integration
4343

4444
test-acceptance: build ## run the acceptance tests
45-
$(DOCKER_RUN_LIBCOMPOSE) ./script/make.sh binary test-acceptance
45+
$(DOCKER_RUN_LIBCOMPOSE) ./hack/make.sh binary test-acceptance
4646

4747
validate: build ## validate DCO, git conflicts marks, gofmt, golint and go vet
48-
$(DOCKER_RUN_LIBCOMPOSE) ./script/make.sh validate-dco validate-git-marks validate-gofmt validate-lint validate-vet
48+
$(DOCKER_RUN_LIBCOMPOSE) ./hack/make.sh validate-dco validate-git-marks validate-gofmt validate-lint validate-vet
4949

5050
shell: build ## start a shell inside the build env
5151
$(DOCKER_RUN_LIBCOMPOSE) bash
@@ -58,7 +58,7 @@ bundles:
5858
mkdir bundles
5959

6060
clean:
61-
$(DOCKER_RUN_LIBCOMPOSE) ./script/make.sh clean
61+
$(DOCKER_RUN_LIBCOMPOSE) ./hack/make.sh clean
6262

6363
help: ## this help
6464
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ libcompose-cli_windows-386.exe
122122
You can run unit tests using the `test-unit` target and the
123123
integration test using the `test-integration` target. If you don't use
124124
Docker and `make` to build `libcompose`, you can use `go test` and the
125-
following scripts : `script/test-unit` and `script/test-integration`.
125+
following scripts : `hack/test-unit` and `hack/test-integration`.
126126

127127
```bash
128128
$ make test-unit
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

script/clean renamed to hack/clean

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)