Skip to content

Commit a7649a1

Browse files
committed
Ignore bindata.go for spelling and formatting checks
also remove duplicated variable assignment for GOFILES
1 parent c8d6f3a commit a7649a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ BINDATA := modules/{options,public,templates}/bindata.go
44
STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less)
55
JAVASCRIPTS :=
66
DOCKER_TAG := gitea/gitea:latest
7-
GOFILES := $(shell find . -name "*.go" -type f -not -path "./vendor/*")
7+
GOFILES := $(shell find . -name "*.go" -type f -not -path "./vendor/*" -not -path "*/bindata.go")
88
GOFMT ?= gofmt -s
99

1010
GOFLAGS := -i -v
@@ -14,7 +14,6 @@ LDFLAGS := -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/'
1414

1515
PACKAGES ?= $(filter-out code.gitea.io/gitea/integrations,$(shell go list ./... | grep -v /vendor/))
1616
SOURCES ?= $(shell find . -name "*.go" -type f)
17-
GOFILES := $(shell find . -name "*.go" -type f -not -path "./vendor/*")
1817

1918
TAGS ?=
2019

0 commit comments

Comments
 (0)