generated from archlinux/template
upgpkg: golangci-lint 1.25.1-4
Another one
This commit is contained in:
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() {
|
||||
|
||||
Reference in New Issue
Block a user