1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

community/tree-sitter-comment: enable tests

This commit is contained in:
Matthias Ahouansou 2025-07-05 18:16:47 +01:00 committed by achill (fossdd)
parent 6f4b497b3d
commit 0af96b452c

View file

@ -2,20 +2,24 @@
# Maintainer: Hygna <hygna@proton.me>
pkgname=tree-sitter-comment
pkgver=0.3.0
pkgrel=0
pkgrel=1
pkgdesc="Tree-sitter grammar for comment tags like TODO, FIXME(user)"
url="https://github.com/stsewd/tree-sitter-comment"
arch="all"
license="MIT"
makedepends="tree-sitter-dev"
checkdepends="tree-sitter-cli"
install_if="tree-sitter-grammars"
source="$pkgname-$pkgver.tar.gz::https://github.com/stsewd/tree-sitter-comment/archive/refs/tags/v$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
}