testing/tree-sitter-haskell: enable tests

This commit is contained in:
Alexey Yerin 2024-09-06 14:44:26 +03:00 committed by Celeste
parent 91e74a4a41
commit 7e9c4701ab

View file

@ -8,14 +8,18 @@ url="https://github.com/tree-sitter/tree-sitter-haskell"
arch="all"
license="MIT"
makedepends="tree-sitter-dev"
checkdepends="tree-sitter-cli"
install_if="tree-sitter-grammars"
source="https://github.com/tree-sitter/tree-sitter-haskell/archive/v$pkgver/tree-sitter-haskell-$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
}