mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
community/tree-sitter-ini: enable tests
This commit is contained in:
parent
0af96b452c
commit
117b2d825b
1 changed files with 6 additions and 2 deletions
|
@ -2,20 +2,24 @@
|
||||||
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
|
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
|
||||||
pkgname=tree-sitter-ini
|
pkgname=tree-sitter-ini
|
||||||
pkgver=1.3.0
|
pkgver=1.3.0
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="tree-sitter grammar/parser for INI files"
|
pkgdesc="tree-sitter grammar/parser for INI files"
|
||||||
url="https://github.com/justinmk/tree-sitter-ini"
|
url="https://github.com/justinmk/tree-sitter-ini"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
makedepends="tree-sitter-dev"
|
makedepends="tree-sitter-dev"
|
||||||
|
checkdepends="tree-sitter-cli"
|
||||||
install_if="tree-sitter-grammars"
|
install_if="tree-sitter-grammars"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/justinmk/tree-sitter-ini/archive/refs/tags/v$pkgver.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://github.com/justinmk/tree-sitter-ini/archive/refs/tags/v$pkgver.tar.gz"
|
||||||
options="!check" # no tests for shared lib
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
abuild-tree-sitter build
|
abuild-tree-sitter build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
tree-sitter test
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
DESTDIR="$pkgdir" abuild-tree-sitter install
|
DESTDIR="$pkgdir" abuild-tree-sitter install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue