mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
community/tree-sitter-kotlin: enable tests
This commit is contained in:
parent
ed6a02a546
commit
fef39e12e0
1 changed files with 6 additions and 2 deletions
|
@ -2,20 +2,24 @@
|
|||
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
|
||||
pkgname=tree-sitter-kotlin
|
||||
pkgver=0.3.8
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Kotlin grammar for Tree-Sitter"
|
||||
url="https://github.com/fwcd/tree-sitter-kotlin"
|
||||
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/fwcd/tree-sitter-kotlin/archive/refs/tags/$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