generated from archlinux/template
upgpkg: golangci-lint 1.25.1-4
Another one
This commit is contained in:
parent
7833fe0937
commit
79446bf0d6
2
.SRCINFO
2
.SRCINFO
@ -1,7 +1,7 @@
|
||||
pkgbase = golangci-lint
|
||||
pkgdesc = Linters Runner for Go. 5x faster than gometalinter.
|
||||
pkgver = 1.25.1
|
||||
pkgrel = 3
|
||||
pkgrel = 4
|
||||
url = https://github.com/golangci/golangci-lint
|
||||
arch = x86_64
|
||||
arch = i686
|
||||
|
6
PKGBUILD
6
PKGBUILD
@ -2,7 +2,7 @@
|
||||
pkgname=golangci-lint
|
||||
pkgdesc="Linters Runner for Go. 5x faster than gometalinter."
|
||||
pkgver=1.25.1
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
|
||||
url='https://github.com/golangci/golangci-lint'
|
||||
license=('GPL3')
|
||||
@ -31,10 +31,12 @@ build() {
|
||||
}
|
||||
|
||||
check() {
|
||||
env | sort
|
||||
exit 1
|
||||
cd "${pkgname}-${pkgver}"
|
||||
# some tests build the binary and overwrite our build
|
||||
chmod 555 "$pkgname" # canary
|
||||
GOLANGCI_LINT_INSTALLED=true go test -a -short ./...
|
||||
GOLANGCI_LINT_INSTALLED=true go test ./...
|
||||
}
|
||||
|
||||
package() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user