summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-04-05 11:57:53 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-04-05 11:58:40 +0300
commit87ba96cf12d3212f9d40a5d934cc78466af167a0 (patch)
tree8281bba463ac083dd00998e0fa132866ed045be0 /dev-libs/tree-sitter-typescript
parentdev-libs/tree-sitter-typescript: drop 0.20.1, 0.20.2 (diff)
downloadgentoo-87ba96cf12d3212f9d40a5d934cc78466af167a0.tar.gz
gentoo-87ba96cf12d3212f9d40a5d934cc78466af167a0.tar.bz2
gentoo-87ba96cf12d3212f9d40a5d934cc78466af167a0.zip
dev-libs/tree-sitter-typescript: fix test invocation
Closes: https://bugs.gentoo.org/928629 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-libs/tree-sitter-typescript')
-rw-r--r--dev-libs/tree-sitter-typescript/tree-sitter-typescript-0.20.6.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-libs/tree-sitter-typescript/tree-sitter-typescript-0.20.6.ebuild b/dev-libs/tree-sitter-typescript/tree-sitter-typescript-0.20.6.ebuild
index 3ab5b3028d0d..ac1c2721a6f8 100644
--- a/dev-libs/tree-sitter-typescript/tree-sitter-typescript-0.20.6.ebuild
+++ b/dev-libs/tree-sitter-typescript/tree-sitter-typescript-0.20.6.ebuild
@@ -12,3 +12,10 @@ S="${WORKDIR}"/${P}/typescript
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
+
+src_prepare() {
+ # fix test corpus path
+ ln -s ../common test || die
+
+ tree-sitter-grammar_src_prepare
+}