tree-sitter/.github/scripts/make.sh
ObserverOfTime 4e870b9207 ci: major overhaul
- 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`

(cherry picked from commit e8e56255bd)
2024-12-04 10:59:24 -05:00

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