From e0feb6bd4e8aa180c212fcbd437e6efa1f44c1f6 Mon Sep 17 00:00:00 2001 From: GitCaddy Date: Wed, 14 Jan 2026 09:53:17 +0000 Subject: [PATCH] chore: Remove gitea-vet from build process MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use standard go vet instead of gitea-vet for copyright checks. This allows MarketAlly copyright headers in new files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- Makefile | 3 +-- internal/pkg/envcheck/disk_unix.go | 6 +++--- internal/pkg/envcheck/disk_windows.go | 6 +++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index d1a14c0..e6e44b8 100644 --- a/Makefile +++ b/Makefile @@ -117,8 +117,7 @@ test: fmt-check security-check .PHONY: vet vet: @echo "Running go vet..." - @$(GO) build code.gitea.io/gitea-vet - @$(GO) vet -vettool=gitea-vet $(GO_PACKAGES_TO_VET) + @$(GO) vet $(GO_PACKAGES_TO_VET) install: $(GOFILES) $(GO) install -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' diff --git a/internal/pkg/envcheck/disk_unix.go b/internal/pkg/envcheck/disk_unix.go index 301bd6c..d5fc495 100644 --- a/internal/pkg/envcheck/disk_unix.go +++ b/internal/pkg/envcheck/disk_unix.go @@ -1,8 +1,8 @@ -//go:build unix - -// Copyright 2026 The Gitea Authors. All rights reserved. +// Copyright 2026 MarketAlly. All rights reserved. // SPDX-License-Identifier: MIT +//go:build unix + package envcheck import ( diff --git a/internal/pkg/envcheck/disk_windows.go b/internal/pkg/envcheck/disk_windows.go index 065134e..47d8ad7 100644 --- a/internal/pkg/envcheck/disk_windows.go +++ b/internal/pkg/envcheck/disk_windows.go @@ -1,8 +1,8 @@ -//go:build windows - -// Copyright 2026 The Gitea Authors. All rights reserved. +// Copyright 2026 MarketAlly. All rights reserved. // SPDX-License-Identifier: MIT +//go:build windows + package envcheck import (