Skip to content

Commit 92f4572

Browse files
authored
feat: fix make commands (#38)
1 parent b8655b3 commit 92f4572

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spec/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ifeq ($(DEBUG_OPS),1)
1010
GENERATOR_FLAGS += --global-property debugOperations=true
1111
endif
1212

13-
all: validate_spec generate_client ## General external client
13+
all: download_spec validate_spec generate_client patch_client ## General external client
1414

1515
download_spec: ## Download openapi.yaml from public pinterest github repo
1616
@echo ====Download openapi.yaml from public pinterest github repo====
@@ -25,8 +25,7 @@ generate_client: ## Generates a python client
2525
./local-open-generator-cli generate -c config.yml -o ..
2626
rm -rf ../test ../.gitlab-ci.yml ../.travis.yml ../git_push.sh
2727

28-
29-
generate_client: ## Patch the generated client
28+
patch_client: ## Patch the generated client
3029
@echo ====Execiting patches====
3130
python ./patches/remove_bool_none_type.py
3231

0 commit comments

Comments
 (0)