stargazing/build-all

23 lines
476 B
Text
Raw Normal View History

2022-09-23 13:21:45 -07:00
#!/usr/bin/env sh
yes_retrieve() {
local a="$1"
shift || return
podman run -v="$HOME/play":/play --rm --entrypoint /bin/busybox "$a" cp -- "$@" "/play/"
}
dbg_retrieve() {
: \
&& yes_retrieve "$1" "$2" \
&& yes_retrieve "$1" "$2.dbg" \
;
}
: \
&& podman build -t notwa-util ~/work/notwa-util \
&& podman build -t cosmo ~/work/cosmo \
&& podman build -t cosmo-kuroko ~/work/cosmo-kuroko \
\
&& dbg_retrieve cosmo-kuroko /bin/kuroko.com \
;