21 lines
362 B
Bash
Executable File
21 lines
362 B
Bash
Executable File
# shellcheck shell=bash
|
|
|
|
mixCompileHook() {
|
|
echo "Executing mixCompileHook"
|
|
|
|
runHook preBuild
|
|
|
|
local flagsArray=()
|
|
concatTo flagsArray mixCompileFlags
|
|
|
|
mix compile --no-deps-check "${flagsArray[@]}"
|
|
|
|
runHook postBuild
|
|
|
|
echo "Finished mixCompileHook"
|
|
}
|
|
|
|
if [ -z "${dontMixCompile-}" ] && [ -z "${buildPhase-}" ]; then
|
|
buildPhase=mixCompileHook
|
|
fi
|