mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
Makefile: Add simple dev loop
Add a `dev` target which adds a convenient developer loop which rebuilds and reruns the daemon after a SIGINT is received. It can be exited by sending SIGINT (Ctrl+C) a couple times. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -212,6 +212,10 @@ build: validate-bind-dir bundles
|
||||
shell: build ## start a shell inside the build env
|
||||
$(DOCKER_RUN_DOCKER) bash
|
||||
|
||||
.PHONY: dev
|
||||
dev: build ## start a dev mode inside the build env
|
||||
$(DOCKER_RUN_DOCKER) hack/dev.sh
|
||||
|
||||
.PHONY: test
|
||||
test: build test-unit ## run the unit, integration and docker-py tests
|
||||
$(DOCKER_RUN_DOCKER) hack/make.sh dynbinary test-integration test-docker-py
|
||||
|
||||
Reference in New Issue
Block a user