diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2022-05-02 23:22:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 23:22:45 +0800 |
commit | c18d8d6968cb175703942631f0094ffb415f51f4 (patch) | |
tree | eab9c1aee4f2eedf1e17323c74c3c7ada7256776 /build | |
parent | e2a3f3d259d230b7d1f62138e789ccdfd8f43b73 (diff) | |
download | gitea-c18d8d6968cb175703942631f0094ffb415f51f4.tar.gz gitea-c18d8d6968cb175703942631f0094ffb415f51f4.zip |
Remove legacy `+build:` constraint (#19582)
Go 1.17 and later use modern `//go:build` constraints, the old `// +build:` constraints should be removed.
Diffstat (limited to 'build')
-rw-r--r-- | build/code-batch-process.go | 1 | ||||
-rw-r--r-- | build/generate-bindata.go | 1 | ||||
-rw-r--r-- | build/generate-emoji.go | 1 | ||||
-rw-r--r-- | build/generate-gitignores.go | 1 | ||||
-rw-r--r-- | build/generate-licenses.go | 1 | ||||
-rw-r--r-- | build/gitea-format-imports.go | 1 | ||||
-rw-r--r-- | build/gocovmerge.go | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/build/code-batch-process.go b/build/code-batch-process.go index b2290af771..0f8dbd40fe 100644 --- a/build/code-batch-process.go +++ b/build/code-batch-process.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build ignore -// +build ignore package main diff --git a/build/generate-bindata.go b/build/generate-bindata.go index 7fdf9d7616..ab81dd8938 100644 --- a/build/generate-bindata.go +++ b/build/generate-bindata.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build ignore -// +build ignore package main diff --git a/build/generate-emoji.go b/build/generate-emoji.go index 2f3536342d..a22f2a4571 100644 --- a/build/generate-emoji.go +++ b/build/generate-emoji.go @@ -4,7 +4,6 @@ // license that can be found in the LICENSE file. //go:build ignore -// +build ignore package main diff --git a/build/generate-gitignores.go b/build/generate-gitignores.go index 0f7d719d40..1e09c83a6a 100644 --- a/build/generate-gitignores.go +++ b/build/generate-gitignores.go @@ -1,5 +1,4 @@ //go:build ignore -// +build ignore package main diff --git a/build/generate-licenses.go b/build/generate-licenses.go index 0f9b9f369f..02b41a229a 100644 --- a/build/generate-licenses.go +++ b/build/generate-licenses.go @@ -1,5 +1,4 @@ //go:build ignore -// +build ignore package main diff --git a/build/gitea-format-imports.go b/build/gitea-format-imports.go index 67c8397b2d..c685ae68ee 100644 --- a/build/gitea-format-imports.go +++ b/build/gitea-format-imports.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build ignore -// +build ignore package main diff --git a/build/gocovmerge.go b/build/gocovmerge.go index 1d2652129f..dfe70efdad 100644 --- a/build/gocovmerge.go +++ b/build/gocovmerge.go @@ -7,7 +7,6 @@ // merges them into one profile //go:build ignore -// +build ignore package main |