commit 065ae42dc1bad4112bf6442db5b50209e097c844 parent d3427c993a6595112298759ede4a32e0476e78a7 Author: Marcel <mtrnord1@gmail.com> Date: Fri, 3 Jul 2020 20:42:14 +0200 Fix env for netlify Took 1 minute Diffstat:
| M | netlify.toml | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/netlify.toml b/netlify.toml @@ -8,4 +8,4 @@ publish = "dist/" # Default build command. - command = "(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y) && rustup target add wasm32-unknown-unknown && export PATH=$PATH:/opt/buildhome/.cargo/bin && yarn run build" + command = "(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y) && source $HOME/.cargo/env && rustup target add wasm32-unknown-unknown && yarn run build"