mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
community/tree-sitter-go: enable tests
This commit is contained in:
parent
8c125dce57
commit
796cd8b976
1 changed files with 6 additions and 2 deletions
|
@ -1,20 +1,24 @@
|
|||
maintainer="Michał Polański <michal@polanski.me>"
|
||||
pkgname=tree-sitter-go
|
||||
pkgver=0.23.1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Go grammar for tree-sitter"
|
||||
url="https://github.com/tree-sitter/tree-sitter-go"
|
||||
license="MIT"
|
||||
arch="all"
|
||||
makedepends="tree-sitter-dev"
|
||||
checkdepends="tree-sitter-cli"
|
||||
install_if="tree-sitter-grammars"
|
||||
source="https://github.com/tree-sitter/tree-sitter-go/archive/v$pkgver/tree-sitter-go-$pkgver.tar.gz"
|
||||
options="!check" # no tests for shared lib
|
||||
|
||||
build() {
|
||||
abuild-tree-sitter build
|
||||
}
|
||||
|
||||
check() {
|
||||
tree-sitter test
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" abuild-tree-sitter install
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue