add build-all script
This commit is contained in:
parent
1fed335376
commit
bc734f6bd1
1 changed files with 22 additions and 0 deletions
22
build-all
Executable file
22
build-all
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/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 \
|
||||
;
|
Loading…
Reference in a new issue