- 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
174 B
Bash
Executable file
9 lines
174 B
Bash
Executable file
#!/bin/bash -eu
|
|
|
|
tree_sitter="$ROOT"/target/"$TARGET"/release/tree-sitter
|
|
|
|
if [[ $BUILD_CMD == cross ]]; then
|
|
cross.sh make CC="$CC" AR="$AR" "$@"
|
|
else
|
|
exec make "$@"
|
|
fi
|