rustPlatform.maturinBuildHook: fix postBuild hook to use ./dist contract
This commit is contained in:
parent
034c3854f0
commit
b3d2765271
@ -24,8 +24,6 @@ maturinBuildHook() {
|
|||||||
${maturinBuildFlags-}
|
${maturinBuildFlags-}
|
||||||
)
|
)
|
||||||
|
|
||||||
runHook postBuild
|
|
||||||
|
|
||||||
if [ ! -z "${buildAndTestSubdir-}" ]; then
|
if [ ! -z "${buildAndTestSubdir-}" ]; then
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
@ -34,6 +32,9 @@ maturinBuildHook() {
|
|||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
mv target/wheels/*.whl dist/
|
mv target/wheels/*.whl dist/
|
||||||
|
|
||||||
|
# These are python build hooks and may depend on ./dist
|
||||||
|
runHook postBuild
|
||||||
|
|
||||||
echo "Finished maturinBuildHook"
|
echo "Finished maturinBuildHook"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user