summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--golangci-lint/PKGBUILD10
1 files changed, 0 insertions, 10 deletions
diff --git a/golangci-lint/PKGBUILD b/golangci-lint/PKGBUILD
index a100670f..4f233617 100644
--- a/golangci-lint/PKGBUILD
+++ b/golangci-lint/PKGBUILD
@@ -34,16 +34,6 @@ build() {
go build -o "$pkgname" -ldflags="${_flags[*]}" ./cmd/"$pkgname"
}
-check() {
- cd "${pkgname}-${pkgver}"
- # some tests build the binary and overwrite our build
- chmod 555 "$pkgname" # canary
- # CGO_CFLAGS break tests when run inside ~/.cache (yay).
- # TODO investigate
- unset CGO_CFLAGS
- GL_TEST_RUN=1 GOLANGCI_LINT_INSTALLED=true go test ./...
-}
-
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 "$pkgname" -t "$pkgdir"/usr/bin