- Simplify some workflow steps and auxiliary scripts - Build library using cmake when not cross-compiling - Try to fetch fixtures from cache first - Use `actions-rust-lang/setup-rust-toolchain`
9 lines
192 B
Bash
Executable file
9 lines
192 B
Bash
Executable file
#!/bin/bash -eu
|
|
|
|
tree_sitter="$ROOT"/target/"$TARGET"/release/tree-sitter
|
|
|
|
if [[ $BUILD_CMD == cross ]]; then
|
|
cross.sh "$CROSS_RUNNER" "$tree_sitter" "$@"
|
|
else
|
|
exec "$tree_sitter" "$@"
|
|
fi
|