blob: e49d8bd2fa92b600e65e72762499a5c0d629163e (
plain)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/env bash
set -eu
target=$1
shift
out=$(bild --plan "$target" 2>&1 | tail -1 | jq --raw-output ".\"${target}\".out")
if [[ ! -f "${CODEROOT:?}/_/bin/$out" ]]; then
bild "$target" || exit 1
fi
exec "${CODEROOT:?}/_/bin/$out" "$@"
|