makefile: ignore copyright for docker files and migration files

This commit is contained in:
Muyao CHEN 2024-10-04 23:38:50 +02:00
parent ab26e9d585
commit a9a6f6ad49

View File

@ -42,7 +42,7 @@ format: # format code.
.PHONY: add-copyright
add-copyright: # add license to file headers.
@addlicense -v -f $(ROOT_DIR)/LICENSE -ignore third_party/** -ignore vendor/** -ignore $(OUTPUT_DIR) $(ROOT_DIR)
@addlicense -v -f $(ROOT_DIR)/LICENSE -ignore deployment/** -ignore migrations/** -ignore $(OUTPUT_DIR) $(ROOT_DIR)
.PHONY: swagger
swagger: # Run swagger.