netlify.toml (702B)
1 # Settings in the [build] context are global and are applied to all contexts 2 # unless otherwise overridden by more specific contexts. 3 [build] 4 # Directory that contains the deploy-ready HTML files and assets generated by 5 # the build. This is relative to the base directory if one has been set, or the 6 # root directory if a base has not been set. This sample publishes the 7 # directory located at the absolute path "root/project/build-output" 8 publish = "dist/" 9 10 # Default build command. 11 command = "(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y) && source $HOME/.cargo/env && rustup target add wasm32-unknown-unknown && cargo install cargo-make && cargo make dist"