25 lines
650 B
Bash
25 lines
650 B
Bash
# Template file for 'revive'
|
|
pkgname=revive
|
|
version=1.3.7
|
|
revision=1
|
|
build_style=go
|
|
go_ldflags="-X github.com/mgechev/revive/cli.version=$version"
|
|
go_import_path="github.com/mgechev/revive"
|
|
short_desc="Drop-in replacement for golint"
|
|
maintainer="Roberto Ricci <io@r-ricci.it>"
|
|
license="MIT"
|
|
homepage="https://revive.run/"
|
|
changelog="https://github.com/mgechev/revive/releases"
|
|
distfiles="https://github.com/mgechev/revive/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=b2dccf39ca74ac858feb67e07b7aecdcb14c8252bf000057acd19893494b2747
|
|
|
|
do_check() {
|
|
go test -v ./...
|
|
}
|
|
|
|
post_install() {
|
|
vdoc RULES_DESCRIPTIONS.md
|
|
vdoc README.md
|
|
vlicense LICENSE
|
|
}
|