Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
move clean task to generate phase so that the generator always regene…
Browse files Browse the repository at this point in the history
…rates test files
  • Loading branch information
ctreatma committed Sep 20, 2023
1 parent 618cc5b commit 93069d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ SPEC_FETCHED_PATCHES=patches/spec.fetched.json
OPENAPI_CODEGEN_IMAGE=openapitools/openapi-generator-cli:v6.6.0
DOCKER_OPENAPI=${CRI} run --rm -u ${CURRENT_UID}:${CURRENT_GID} -v $(CURDIR):/local ${OPENAPI_CODEGEN_IMAGE}

all: clean patch pull generate
all: pull fetch patch generate

generate: codegen move-workflow build_client
generate: clean codegen move-workflow build_client

pull:
${CRI} pull ${OPENAPI_CODEGEN_IMAGE}
Expand Down

0 comments on commit 93069d8

Please sign in to comment.