daydream

A small matrix web client written in rust
git clone git://archive.git.mtrnord.blog/daydream-mx/daydream.git
Log | Files | Refs | README | LICENSE

commit a64daf2dda89fa78344191d9457ce0dc375cfc04
parent 233423cd1ed151cabc4ced6361d5fbe22124615b
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Fri,  3 Jul 2020 20:56:38 +0200

Merge pull request #21 from daydream-mx/master

Add netlify.toml to the Redesign branch (allows for previews to be deployed)
Diffstat:
M.gitignore | 1+
Anetlify.toml | 11+++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -8,3 +8,4 @@ wasm-pack.log node_modules cypress/videos cypress/screenshots + diff --git a/netlify.toml b/netlify.toml @@ -0,0 +1,11 @@ +# Settings in the [build] context are global and are applied to all contexts +# unless otherwise overridden by more specific contexts. +[build] + # Directory that contains the deploy-ready HTML files and assets generated by + # the build. This is relative to the base directory if one has been set, or the + # root directory if a base has not been set. This sample publishes the + # directory located at the absolute path "root/project/build-output" + publish = "dist/" + + # Default build command. + 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"