fix(makefile): add-copyright target

This commit is contained in:
Muyao CHEN 2024-10-01 13:35:49 +02:00
parent 0bd8f060df
commit 0b9f01ba0b

View File

@ -20,8 +20,7 @@ format: # format code.
.PHONY: add-copyright .PHONY: add-copyright
add-copyright: # add license to file headers. add-copyright: # add license to file headers.
@addlicense -v -f $(ROOT_DIR)/LICENSE $(ROOT_DIR) -ignore third_party/** -ignore vendor/** -ignore $(OUTPUT_DIR) @addlicense -v -f $(ROOT_DIR)/LICENSE -ignore third_party/** -ignore vendor/** -ignore $(OUTPUT_DIR) $(ROOT_DIR)
.PHONY: swagger .PHONY: swagger
swagger: # Run swagger. swagger: # Run swagger.
@swagger serve -F=swagger --no-open --port 65534 $(ROOT_DIR)/api/openapi/openapi.yaml @swagger serve -F=swagger --no-open --port 65534 $(ROOT_DIR)/api/openapi/openapi.yaml