Skip to content

Commit 5442b3f

Browse files
committed
refactor: justfile
Remove unnecessary declarations
1 parent edb932b commit 5442b3f

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.justfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
GEM_NAME := 'tree_sitter'
2-
LIB := 'lib'
3-
LIB_FILE := LIB / GEM_NAME + '.rb'
4-
VERSION_FILE := LIB / GEM_NAME / 'version.rb'
5-
VERSION := shell("ruby -r ./" + VERSION_FILE + " -e 'puts TreeSitter::VERSION'")
61
TS_PARSER_VERSION := '4.8'
72

83
default: check
@@ -22,7 +17,9 @@ compile *args:
2217

2318
[group('tree-sitter')]
2419
dl-parsers platform:
25-
curl -o tree-sitter-parsers.zip -L https://github.com/Faveod/tree-sitter-parsers/releases/download/v{{TS_PARSER_VERSION}}/tree-sitter-parsers-{{TS_PARSER_VERSION}}-{{platform}}.zip
20+
curl \
21+
-o tree-sitter-parsers.zip \
22+
-L https://github.com/Faveod/tree-sitter-parsers/releases/download/v{{TS_PARSER_VERSION}}/tree-sitter-parsers-{{TS_PARSER_VERSION}}-{{platform}}.zip
2623
unzip tree-sitter-parsers.zip
2724

2825
[group('doc')]

0 commit comments

Comments
 (0)