2019-07-17 20:36:47 +02: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 18:59:18 +01:00
|
|
|
if [ -z "${dontUseWheelUnpack-}" ] && [ -z "${unpackPhase-}" ]; then
|
2019-07-17 20:36:47 +02:00
|
|
|
echo "Using wheelUnpackPhase"
|
|
|
|
unpackPhase=wheelUnpackPhase
|
|
|
|
fi
|