generated from archlinux/template
Last update before serious selfharm
This commit is contained in:
parent
55b82ddbd1
commit
a3b9ef71e7
2
.SRCINFO
2
.SRCINFO
@ -1,7 +1,7 @@
|
|||||||
pkgbase = golangci-lint
|
pkgbase = golangci-lint
|
||||||
pkgdesc = Linters Runner for Go. 5x faster than gometalinter.
|
pkgdesc = Linters Runner for Go. 5x faster than gometalinter.
|
||||||
pkgver = 1.25.1
|
pkgver = 1.25.1
|
||||||
pkgrel = 5
|
pkgrel = 6
|
||||||
url = https://github.com/golangci/golangci-lint
|
url = https://github.com/golangci/golangci-lint
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
arch = i686
|
arch = i686
|
||||||
|
3
PKGBUILD
3
PKGBUILD
@ -2,7 +2,7 @@
|
|||||||
pkgname=golangci-lint
|
pkgname=golangci-lint
|
||||||
pkgdesc="Linters Runner for Go. 5x faster than gometalinter."
|
pkgdesc="Linters Runner for Go. 5x faster than gometalinter."
|
||||||
pkgver=1.25.1
|
pkgver=1.25.1
|
||||||
pkgrel=5
|
pkgrel=6
|
||||||
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
|
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
|
||||||
url='https://github.com/golangci/golangci-lint'
|
url='https://github.com/golangci/golangci-lint'
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
@ -34,6 +34,7 @@ check() {
|
|||||||
cd "${pkgname}-${pkgver}"
|
cd "${pkgname}-${pkgver}"
|
||||||
# some tests build the binary and overwrite our build
|
# some tests build the binary and overwrite our build
|
||||||
chmod 555 "$pkgname" # canary
|
chmod 555 "$pkgname" # canary
|
||||||
|
unset CGO_LDFLAGS CGO_CFLAGS GOFLAGS
|
||||||
GOLANGCI_LINT_INSTALLED=true go test ./...
|
GOLANGCI_LINT_INSTALLED=true go test ./...
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user