16 lines
333 B
Bash
16 lines
333 B
Bash
# Setup hook to use for eggs
|
|
echo "Sourcing egg-build-hook"
|
|
|
|
eggBuildPhase() {
|
|
echo "Executing eggBuildPhase"
|
|
runHook preBuild
|
|
|
|
runHook postBuild
|
|
echo "Finished executing eggBuildPhase"
|
|
}
|
|
|
|
if [ -z "${dontUseEggBuild-}" ] && [ -z "${buildPhase-}" ]; then
|
|
echo "Using eggBuildPhase"
|
|
buildPhase=eggBuildPhase
|
|
fi
|