Update package version to 0.25.10
This commit is contained in:
@@ -1,14 +1,27 @@
|
|||||||
name: tree-sitter
|
name: tree-sitter
|
||||||
description: An incremental parsing system for programming tools
|
description: An incremental parsing system for programming tools
|
||||||
version: 0.25.9
|
version: 0.25.10
|
||||||
|
revision: 1
|
||||||
url: https://github.com/tree-sitter/tree-sitter
|
url: https://github.com/tree-sitter/tree-sitter
|
||||||
license: MIT
|
license: MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
make_depends: ["cmake","rustc"]
|
|
||||||
type: source
|
type: source
|
||||||
|
make_depends:
|
||||||
|
- cmake
|
||||||
|
- rustc
|
||||||
|
downloads:
|
||||||
|
- url: https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to_bpm_source: true
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: ad5040537537012b16ef6e1210a572b927c7cdc2b99d1ee88d44a7dcdc3ff44c
|
||||||
split_packages:
|
split_packages:
|
||||||
- name: tree-sitter
|
- name: tree-sitter
|
||||||
|
description: ""
|
||||||
|
version: ""
|
||||||
- name: tree-sitter-cli
|
- name: tree-sitter-cli
|
||||||
description: CLI tool for tree-sitter
|
description: CLI tool for tree-sitter
|
||||||
depends: ["gcc-libs"]
|
version: ""
|
||||||
optional_depends: ["nodejs"]
|
depends:
|
||||||
|
- gcc-libs
|
||||||
|
optional_depends:
|
||||||
|
- nodejs
|
||||||
|
|||||||
@@ -2,15 +2,9 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
# The prepare function is executed in the root of the temp directory
|
||||||
# This function is used for downloading files and putting them into the correct location
|
# This function is used for putting downloaded files to the correct location or applying patches
|
||||||
prepare() {
|
prepare() {
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
|
|
||||||
cd "$BPM_SOURCE"/cli
|
cd "$BPM_SOURCE"/cli
|
||||||
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user