databuild/graph/rust_analyze_wrapper.sh.tpl

13 lines
261 B
Smarty

#!/bin/bash
set -e
%{RUNFILES_PREFIX}
%{PREFIX}
# Locate the Rust binary using its standard runfiles path
# Assumes workspace name is 'databuild'
EXECUTABLE_BINARY="$(rlocation "databuild/graph/analyze")"
# Run the analysis
exec "${EXECUTABLE_BINARY}" "$@"