diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-08 12:46:31 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-08 12:46:31 +0100 |
commit | e2f3c00079a93e5030a84a5a375dd50f192e2dba (patch) | |
tree | 62ec1bc6bcae87278c547763692b0334cf302dbc /Makefile | |
parent | fr24feed: bump versions (diff) | |
download | fr24feed-e2f3c00079a93e5030a84a5a375dd50f192e2dba.tar.gz fr24feed-e2f3c00079a93e5030a84a5a375dd50f192e2dba.zip |
Makefile: split long commands
Diffstat (limited to '')
-rw-r--r-- | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -43,7 +43,8 @@ login: ifndef DOCKER_PASSWORD $(error Please define DOCKER_PASSWORD) endif - @echo '$(call escape,$(DOCKER_PASSWORD))' | docker login --username '$(call escape,$(DOCKER_USERNAME))' --password-stdin + @echo '$(call escape,$(DOCKER_PASSWORD))' \ + | docker login --username '$(call escape,$(DOCKER_USERNAME))' --password-stdin .PHONY: build # Build natively by default. @@ -104,13 +105,20 @@ buildx/rm: docker buildx rm '$(call escape,$(PROJECT))_builder' buildx/build/%: DO - docker buildx build -t '$(call escape,$(DOCKER_USERNAME))/$*' --platform '$(call escape,$(PLATFORMS))' '$*/' + docker buildx build \ + -t '$(call escape,$(DOCKER_USERNAME))/$*' \ + --platform '$(call escape,$(PLATFORMS))' \ + '$*/' .PHONY: buildx/build buildx/build: buildx/build/dump1090 buildx/build/fr24feed buildx/push/%: DO - docker buildx build -t '$(call escape,$(DOCKER_USERNAME))/$*' --platform '$(call escape,$(PLATFORMS))' --push '$*/' + docker buildx build \ + -t '$(call escape,$(DOCKER_USERNAME))/$*' \ + --platform '$(call escape,$(PLATFORMS))' \ + --push \ + '$*/' .PHONY: buildx/push buildx/push: buildx/push/dump1090 buildx/push/fr24feed |