aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-02-08 12:46:31 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-02-08 12:46:31 +0100
commite2f3c00079a93e5030a84a5a375dd50f192e2dba (patch)
tree62ec1bc6bcae87278c547763692b0334cf302dbc /Makefile
parentfr24feed: bump versions (diff)
downloadfr24feed-e2f3c00079a93e5030a84a5a375dd50f192e2dba.tar.gz
fr24feed-e2f3c00079a93e5030a84a5a375dd50f192e2dba.zip
Makefile: split long commands
Diffstat (limited to '')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index be4e3db..858d3f2 100644
--- a/Makefile
+++ b/Makefile
@@ -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