1 # shellcheck shell=bash
7 concatTo flagsArray justFlags justFlagsArray
9 echoCmd
'build flags' "${flagsArray[@]}"
10 just
"${flagsArray[@]}"
18 if [ -z "${checkTarget:-}" ]; then
19 if just
-n test >/dev
/null
2>&1; then
24 if [ -z "${checkTarget:-}" ]; then
25 echo "no test target found in just, doing nothing"
28 concatTo flagsArray justFlags justFlagsArray checkTarget
30 echoCmd
'check flags' "${flagsArray[@]}"
31 just
"${flagsArray[@]}"
41 concatTo flagsArray justFlags justFlagsArray installTargets
=install
43 echoCmd
'install flags' "${flagsArray[@]}"
44 just
"${flagsArray[@]}"
49 if [ -z "${dontUseJustBuild-}" ] && [ -z "${buildPhase-}" ]; then
50 buildPhase
=justBuildPhase
53 if [ -z "${dontUseJustCheck-}" ] && [ -z "${checkPhase-}" ]; then
54 checkPhase
=justCheckPhase
57 if [ -z "${dontUseJustInstall-}" ] && [ -z "${installPhase-}" ]; then
58 installPhase
=justInstallPhase