31 lines
788 B
Plaintext
31 lines
788 B
Plaintext
|
#!/bin/bash
|
||
|
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||
|
source "$(dirname -- "$0")/../load.sh" || exit 1
|
||
|
|
||
|
force=
|
||
|
args=(
|
||
|
"Construire toutes les images supportées de runphp"
|
||
|
#"usage"
|
||
|
-f,--force force=1 "Créer les images même si elles existent déjà"
|
||
|
)
|
||
|
parse_args "$@"; set -- "${args[@]}"
|
||
|
|
||
|
export RUNPHP_STANDALONE="$NULIBDIR"
|
||
|
export RUNPHP_PROJDIR=
|
||
|
export RUNPHP_REGISTRY=
|
||
|
export RUNPHP_DIST=
|
||
|
export RUNPHP_BUILD_FLAVOUR=
|
||
|
|
||
|
runphp=("$MYDIR/../runphp/runphp" --bs)
|
||
|
[ -z "$force" ] && runphp+=(--ue)
|
||
|
|
||
|
for RUNPHP_DIST in d12 d11; do
|
||
|
for RUNPHP_BUILD_FLAVOUR in +ic none; do
|
||
|
flavour="$RUNPHP_BUILD_FLAVOUR"
|
||
|
[ "$flavour" == none ] && flavour=
|
||
|
etitle "$RUNPHP_DIST$flavour"
|
||
|
"${runphp[@]}"
|
||
|
eend
|
||
|
done
|
||
|
done
|