mirror of https://github.com/docker/cli.git
Add a way to just build windows and osx
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
This commit is contained in:
parent
7b77ab5c60
commit
51080d6148
8
Makefile
8
Makefile
|
@ -34,6 +34,14 @@ binary: ## build executable for Linux
|
|||
cross: ## build executable for macOS and Windows
|
||||
./scripts/build/cross
|
||||
|
||||
.PHONY: binary-windows
|
||||
binary-windows: ## build executable for Windows
|
||||
./scripts/build/windows
|
||||
|
||||
.PHONY: binary-osx
|
||||
binary-osx: ## build executable for macOS
|
||||
./scripts/build/osx
|
||||
|
||||
.PHONY: dynbinary
|
||||
dynbinary: ## build dynamically linked binary
|
||||
./scripts/build/dynbinary
|
||||
|
|
|
@ -54,6 +54,14 @@ test: test-unit test-e2e
|
|||
cross: build_cross_image
|
||||
docker run --rm $(ENVVARS) $(MOUNTS) $(CROSS_IMAGE_NAME) make cross
|
||||
|
||||
.PHONY: binary-windows
|
||||
binary-windows: build_cross_image
|
||||
docker run --rm $(ENVVARS) $(MOUNTS) $(CROSS_IMAGE_NAME) make $@
|
||||
|
||||
.PHONY: binary-osx
|
||||
binary-osx: build_cross_image
|
||||
docker run --rm $(ENVVARS) $(MOUNTS) $(CROSS_IMAGE_NAME) make $@
|
||||
|
||||
.PHONY: watch
|
||||
watch: build_docker_image
|
||||
docker run --rm $(ENVVARS) $(MOUNTS) $(DEV_DOCKER_IMAGE_NAME) make watch
|
||||
|
|
Loading…
Reference in New Issue