diff options
author | 6543 <6543@obermui.de> | 2020-09-02 18:57:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 12:57:08 -0400 |
commit | 84eac6ed6c1b02a28c83cd2695aa470c4acf46e9 (patch) | |
tree | 82a7122c06ed84fc808691d9d43480f2b983ce9e /Makefile | |
parent | 3ecd030cd5aa7ded57438a5b9c1459faf237993f (diff) | |
download | gitea-84eac6ed6c1b02a28c83cd2695aa470c4acf46e9.tar.gz gitea-84eac6ed6c1b02a28c83cd2695aa470c4acf46e9.zip |
Add make targed generate-license & generate-gitignore + Update (#12682)
* Add make targed generate-license & generate-gitignore
* Update Gitignores & Licenses
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -170,6 +170,8 @@ help: @echo " - fomantic build fomantic files" @echo " - generate run \"go generate\"" @echo " - fmt format the Go code" + @echo " - generate-license update license files" + @echo " - generate-gitignore update gitignore files" @echo " - generate-swagger generate the swagger spec from code comments" @echo " - swagger-validate check if the swagger spec is valid" @echo " - golangci-lint run golangci-lint linter" @@ -668,6 +670,15 @@ update-translations: mv ./translations/*.ini ./options/locale/ rmdir ./translations +.PHONY: generate-license +generate-license: + GO111MODULE=on $(GO) run build/generate-licenses.go + +.PHONY: generate-gitignore +generate-gitignore: + GO111MODULE=on $(GO) run build/generate-gitignores.go + + .PHONY: generate-images generate-images: npm install --no-save --no-package-lock xmldom fabric imagemin-zopfli |