2019-07-17 19:36:47 +01:00
|
|
|
# Setup hook to use in case a wheel is fetched
|
|
|
|
echo "Sourcing wheel setup hook"
|
|
|
|
|
|
|
|
wheelUnpackPhase(){
|
|
|
|
echo "Executing wheelUnpackPhase"
|
|
|
|
runHook preUnpack
|
|
|
|
|
|
|
|
mkdir -p dist
|
|
|
|
cp "$src" "dist/$(stripHash "$src")"
|
|
|
|
|
|
|
|
# runHook postUnpack # Calls find...?
|
|
|
|
echo "Finished executing wheelUnpackPhase"
|
|
|
|
}
|
|
|
|
|
2019-10-31 17:59:18 +00:00
|
|
|
if [ -z "${dontUseWheelUnpack-}" ] && [ -z "${unpackPhase-}" ]; then
|
2019-07-17 19:36:47 +01:00
|
|
|
echo "Using wheelUnpackPhase"
|
|
|
|
unpackPhase=wheelUnpackPhase
|
|
|
|
fi
|