AspireCloud/meta/bin/prelude.bash
Chuck Adams 015d724188
switch to local scripts for container image management (#120)
* chore: switch to manual trigger for build-container-images.yaml

* feat: local meta/bin/build-images script
2024-12-14 19:18:27 -07:00

22 lines
310 B
Bash

# This file should be sourced, not run
[[ -n $TRACE ]] && [[ $TRACE != 0 ]] && set -x
set -o errexit
cd $(dirname $0)/../..
base=$(pwd)
function warn {
echo "$@" >&2
}
function die() {
warn "$@"
exit 1
}
function RUN() {
[[ -n $DRY_RUN ]] && [[ $DRY_RUN != 0 ]] && _run=echo
$_run "$@"
}