diff --git a/.gitignore b/.gitignore index 3be238a..b2bf672 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /index.html /target/ /Cargo.lock +/mixsy.zip diff --git a/build.sh b/build.sh old mode 100755 new mode 100644 index a968646..82df709 --- a/build.sh +++ b/build.sh @@ -2,5 +2,4 @@ pug index.pug set -ex -wasm-pack build --target web -python3 -m http.server +wasm-pack build --target web \ No newline at end of file diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..c404115 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +./build.sh + +zip -r mixsy.zip README.md index.html pkg +butler push mixsy.zip ruin/mixsy:html diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..e919893 --- /dev/null +++ b/test.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +./build.sh +python3 -m http.server