Alerting: Make all in api generator tooling now actually makes all (#88793)

* Make all now actually makes all

* Clean depends on clean-go
This commit is contained in:
Alexander Weaver 2024-06-05 11:52:31 -05:00 committed by GitHub
parent 80f54778f3
commit 820ee6e9db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,7 +60,11 @@ fix:
sed $(SED_INPLACE) -e 's/apimodels\.\[\]PostableApiReceiver/apimodels.TestReceiversConfigParams/' $(GENERATED_GO_MATCHERS)
goimports -w -v $(GENERATED_GO_MATCHERS)
clean:
clean: clean-go
rm spec.json
rm spec-stable.json
clean-go:
rm -rf ./go
serve: post.json
@ -69,6 +73,6 @@ serve: post.json
serve-stable: api.json
docker run --rm -p 80:8080 -v $$(pwd):/tmp -e SWAGGER_FILE=/tmp/$(<) swaggerapi/swagger-editor
gen: swagger-codegen-api fix copy-files clean
gen: swagger-codegen-api fix copy-files clean-go
all: post.json api.json gen
all: clean spec.json spec-stable.json post.json api.json gen