fix(makefile): add-copyright target
This commit is contained in:
parent
0bd8f060df
commit
0b9f01ba0b
3
Makefile
3
Makefile
@ -20,8 +20,7 @@ format: # format code.
|
||||
|
||||
.PHONY: add-copyright
|
||||
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
|
||||
swagger: # Run swagger.
|
||||
@swagger serve -F=swagger --no-open --port 65534 $(ROOT_DIR)/api/openapi/openapi.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user