xq: adjust for default do_check
This commit is contained in:
parent
03a3c79cee
commit
61590dff5f
|
@ -4,6 +4,7 @@ version=1.2.4
|
|||
revision=2
|
||||
build_style=go
|
||||
go_import_path=github.com/sibprogrammer/xq
|
||||
make_check_args="-covermode=atomic"
|
||||
short_desc="Command-line XML and HTML beautifier and content extractor"
|
||||
maintainer="Emil Miler <em@0x45.cz>"
|
||||
license="MIT"
|
||||
|
@ -11,10 +12,6 @@ homepage="https://github.com/sibprogrammer/xq"
|
|||
distfiles="https://github.com/sibprogrammer/xq/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=5044de231d2426c236618e52d3d2e59cd45b008e55d5dfa8df97c3269c64354d
|
||||
|
||||
do_check() {
|
||||
go test -covermode=atomic -v ./...
|
||||
}
|
||||
|
||||
post_install() {
|
||||
mv "$DESTDIR/usr/bin/"{xq,xq-go}
|
||||
vman docs/xq.man xq-go.1
|
||||
|
|
Loading…
Reference in New Issue