diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-03-11 03:02:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-11 03:02:18 +0800 |
commit | 434f1ec542cc6dab6b2709e3a6fab261bdad4c7b (patch) | |
tree | 427dfe294a5cdf56f8886ca20a30af15c907d6c9 | |
parent | 927ffef8646b5743fb595d04290be3780c0cf5e8 (diff) |
all: clean up dot files (#5983)
-rw-r--r-- | .codebeatignore | 7 | ||||
-rw-r--r-- | .codebeatsettings | 7 | ||||
-rw-r--r-- | .dockerignore | 5 | ||||
-rw-r--r-- | .editorconfig | 2 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 11 |
6 files changed, 7 insertions, 26 deletions
diff --git a/.codebeatignore b/.codebeatignore deleted file mode 100644 index bfb9b911..00000000 --- a/.codebeatignore +++ /dev/null @@ -1,7 +0,0 @@ -conf/** -docker/** -modules/bindata/** -packager/** -public/** -scripts/** -templates/**
\ No newline at end of file diff --git a/.codebeatsettings b/.codebeatsettings deleted file mode 100644 index c6ee5c98..00000000 --- a/.codebeatsettings +++ /dev/null @@ -1,7 +0,0 @@ -{ - "GOLANG": { - "TOTAL_LOC": [500, 999, 1999, 9999], - "TOO_MANY_FUNCTIONS": [50, 99, 199, 999], - "TOO_MANY_IVARS": [20, 50, 70, 99] - } -}
\ No newline at end of file diff --git a/.dockerignore b/.dockerignore index 823e8dd9..c2f70d14 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,5 @@ -packager -packager/** +.packager +.packager/** scripts scripts/** .github/ @@ -8,7 +8,6 @@ config.codekit .dockerignore *.yml *.md -.bra.toml .editorconfig .gitignore Dockerfile* diff --git a/.editorconfig b/.editorconfig index cd71e6b2..ce737a78 100644 --- a/.editorconfig +++ b/.editorconfig @@ -16,7 +16,7 @@ indent_size = 4 indent_style = tab indent_size = 2 -[*.{less,yml}] +[*.{less, yml}] indent_style = space indent_size = 2 @@ -4,7 +4,6 @@ log/ custom/ data/ -.vendor/ .idea/ *.iml public/img/avatar/ @@ -8,17 +8,14 @@ LESS_FILES := $(wildcard public/less/*.less) ASSETS_GENERATED := internal/assets/conf/conf_gen.go internal/assets/templates/templates_gen.go internal/assets/public/public_gen.go GENERATED := $(ASSETS_GENERATED) public/css/gogs.css -OS := $(shell uname) - TAGS = "" BUILD_FLAGS = "-v" RELEASE_ROOT = "release" RELEASE_GOGS = "release/gogs" NOW = $(shell date -u '+%Y%m%d%I%M%S') -GOVET = go tool vet -composites=false -methods=false -structtags=false -.PHONY: build pack release generate clean +.PHONY: check dist build build-no-gen pack release generate less clean test fixme todo legacy .IGNORE: public/css/gogs.css @@ -67,7 +64,7 @@ less: public/css/gogs.css public/css/gogs.css: $(LESS_FILES) @type lessc >/dev/null 2>&1 && lessc --source-map "public/less/gogs.less" $@ || echo "lessc command not found or failed" -clean-mac: +clean: find . -name "*.DS_Store" -type f -delete test: @@ -79,6 +76,6 @@ fixme: todo: grep -rnw "TODO" internal -# Legacy code should be remove by the time of release +# Legacy code should be removed by the time of release legacy: - grep -rnw "\(LEGACY\|DEPRECATED\)" internal + grep -rnw "\(LEGACY\|Deprecated\)" internal |