Skip to content

Commit 3b3b017

Browse files
committed
Wrap and indent long command lines in Makefile
1 parent 28fcc6e commit 3b3b017

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

Makefile

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,26 @@ linkcheck-docs: ## check broken links
7878

7979
hook/%: VARIANT?=default
8080
hook/%: ## run post-build hooks for an image
81-
python3 -m tagging.write_tags_file --short-image-name "$(notdir $@)" --tags-dir /tmp/jupyter/tags/ --registry "$(REGISTRY)" --owner "$(OWNER)" --variant "$(VARIANT)" && \
82-
python3 -m tagging.write_manifest --short-image-name "$(notdir $@)" --hist-lines-dir /tmp/jupyter/hist_lines/ --manifests-dir /tmp/jupyter/manifests/ --registry "$(REGISTRY)" --owner "$(OWNER)" --variant "$(VARIANT)" && \
83-
python3 -m tagging.apply_tags --short-image-name "$(notdir $@)" --tags-dir /tmp/jupyter/tags/ --platform "$(shell uname -m)" --registry "$(REGISTRY)" --owner "$(OWNER)" --variant "$(VARIANT)"
81+
python3 -m tagging.write_tags_file \
82+
--short-image-name "$(notdir $@)" \
83+
--tags-dir /tmp/jupyter/tags/ \
84+
--registry "$(REGISTRY)" \
85+
--owner "$(OWNER)" \
86+
--variant "$(VARIANT)"
87+
python3 -m tagging.write_manifest \
88+
--short-image-name "$(notdir $@)" \
89+
--hist-lines-dir /tmp/jupyter/hist_lines/ \
90+
--manifests-dir /tmp/jupyter/manifests/ \
91+
--registry "$(REGISTRY)" \
92+
--owner "$(OWNER)" \
93+
--variant "$(VARIANT)"
94+
python3 -m tagging.apply_tags \
95+
--short-image-name "$(notdir $@)" \
96+
--tags-dir /tmp/jupyter/tags/ \
97+
--platform "$(shell uname -m)" \
98+
--registry "$(REGISTRY)" \
99+
--owner "$(OWNER)" \
100+
--variant "$(VARIANT)"
84101
hook-all: $(foreach I, $(ALL_IMAGES), hook/$(I)) ## run post-build hooks for all images
85102

86103

@@ -117,5 +134,8 @@ run-sudo-shell/%: ## run bash in interactive mode as root in a stack
117134

118135

119136
test/%: ## run tests against a stack
120-
python3 -m tests.run_tests --short-image-name "$(notdir $@)" --registry "$(REGISTRY)" --owner "$(OWNER)"
137+
python3 -m tests.run_tests \
138+
--short-image-name "$(notdir $@)" \
139+
--registry "$(REGISTRY)" \
140+
--owner "$(OWNER)"
121141
test-all: $(foreach I, $(ALL_IMAGES), test/$(I)) ## test all stacks

0 commit comments

Comments
 (0)