uci-docker-caddy/test/build
David Kebler cbc8afedda reorganize src/ for refactor of UCI build
reorganize, refactor and improve testing
2023-04-22 10:23:44 -07:00

10 lines
285 B
Bash
Executable file

#!/bin/bash
[[ $1 = "-f" ]] && force=force && shift
if [[ ! $(udbuild image exists -e test.env) || $force ]] ; then
echo $force building image
../build -e test.env -a build.env $@
echo done building image
else
echo using existing image, use -f to force rebuild
fi