cool-printer-74432
06/20/2022, 5:06 PMbazel run :myapp
to run the target named myapp
in the current directory's BUILD
file. It doesn't seem like that's possible with pants? I've only been able to successfully refer to targets with a fully-qualified name.bitter-ability-32190
06/20/2022, 5:07 PMbitter-ability-32190
06/20/2022, 5:07 PMcool-printer-74432
06/20/2022, 5:11 PMpants () {
local git_root="$(git rev-parse --show-toplevel)"
if [[ -z "$git_root" ]]
then
return 1
fi
"${git_root}/pants" "$@"
}