mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
testing/tree-sitter-haskell: enable tests
This commit is contained in:
parent
91e74a4a41
commit
7e9c4701ab
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue