6O2UXYBU5WFHG3MQGEMEVRWRVGGMUXMGVKSQIC7VOL6KWPC5BS4AC
6RK4SRYAGDY2SOL3FD4KBQU6XFWILGCXVELQ7K5P3KXKL5MFOJOAC
BXBU6DFPSIWPSZ4DJCAOJ44LWX3NBEVC4CDOOUPEJTPT24REDZNAC
HAJWTMACMFFXFLSIVEX5L7IDFEMQXUG33U4KJCPGIH4XLLNUT62QC
7FY6SD5F7FUTR4TMBVUOVNJYFOUNHZUGROM2T4QN5DPGDUQGSFQAC
Q3NOGMVAPCDUNKJCUCD34N7B2DMXPR56IOPIEMDI6IFHWTTBW3SAC
3BM2SH63ECZTNY2JVTUORJF7OSO6BRDHSS5NEXIRICHEIQRHIRZAC
echo 'Shim successfully loaded, script continues.'
# Make it easier to inform the user.
function logThis {
if [[ "${DEBUG}" -gt 3 ]]; then
echo "function logThis got value '${@}'"
fi
if [[ ! -z "${@}" ]]; then
echo -e "${@}"
else
echo
fi
}
alias lt=logThis
[ "${DEBUG}" -gt 0 ] && lt "@function:logThis (lt) loaded"
[ "${DEBUG}" -gt 1 ] && lt "@function:logThis (& 'lt' alias) testing..." &&\
lt "@function:logThis success" && lt "---"
[ "${DEBUG}" -gt 0 ] && lt
# @todo exit (w/ trapping?) for if `lt` fails
function logThis {
# echo "got here to logThis"
if [[ "${DEBUG}" -eq 1 ]]; then
# echo "got past debug"
if [[ ! -z "${@}" ]]; then
echo -e "${@}"
else
echo
fi
fi
}
function lt {
# echo "got here to lt"
logThis "${@}"
}
lt "@function:logThis/lt testing..." &&\
lt "@function:logThis/lt success" && lt "---"
#@todo exit if lt fails
if [[ "${DEBUG}" -gt 1 ]]; then
lt "realpath dirname: '${srcDirName}'"
fi
if [[ "${DEBUG}" -gt 1 ]]; then
lt -n 'Sourcing mixins...'
fi
mixSrc='. "${srcDirName}/mixins.src"'
if [[ "${DEBUG}" -gt 2 ]]; then
time eval "${mixSrc}"
else
eval "${mixSrc}"
fi
if [[ "${DEBUG}" -gt 1 ]]; then
lt "mixins sourced from '${mixSrc}'" && lt
fi