Skip to content

Commit dae362f

Browse files
committed
improve makefile
1 parent 0b4e750 commit dae362f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
.DEFAULT_GOAL := help
1111

1212
SHELL := /bin/bash
13-
13+
#.SHELLFLAGS := -e -o pipefail -c
1414
MAKE_C := $(MAKE) --no-print-directory --directory
1515

1616
# Operating system
@@ -582,8 +582,8 @@ new-service: .venv ## Bakes a new project from cookiecutter-simcore-pyservice an
582582
openapi-specs: .env _check_venv_active ## bundles and validates openapi specifications and schemas of ALL service's API
583583
@for makefile in $(MAKEFILES_WITH_OPENAPI_SPECS); do \
584584
echo "Generating openapi-specs using $${makefile}"; \
585-
$(MAKE_C) $$(dirname $${makefile}) install-dev; \
586-
$(MAKE_C) $$(dirname $${makefile}) openapi-specs; \
585+
$(MAKE_C) $$(dirname $${makefile}) install-dev && $(MAKE_C) $$(dirname $${makefile}) $@; \
586+
printf "%0.s=" {1..100} && printf "\n"; \
587587
done
588588

589589

0 commit comments

Comments
 (0)