diff --git a/scripts/build-flatpak.sh b/scripts/build-flatpak.sh new file mode 100755 index 0000000..9b07d06 --- /dev/null +++ b/scripts/build-flatpak.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo && +flatpak-builder build --user --force-clean --install-deps-from=flathub .flatpak-manifest.json && +flatpak build-export export build && +flatpak build-bundle export auracite.flatpak zone.xiv.auracite --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo diff --git a/scripts/build-web.sh b/scripts/build-web.sh new file mode 100755 index 0000000..61c1997 --- /dev/null +++ b/scripts/build-web.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +wasm-pack build --target web diff --git a/scripts/copy-web-to-server.sh b/scripts/copy-web-to-server.sh new file mode 100755 index 0000000..abb3a68 --- /dev/null +++ b/scripts/copy-web-to-server.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +rsync -e "ssh -p 38901 -o StrictHostKeyChecking=no" --recursive web/ ryne.moe:/srv/http/auracite.xiv.zone/ && +rsync -e "ssh -p 38901 -o StrictHostKeyChecking=no" --recursive pkg/ ryne.moe:/srv/http/auracite.xiv.zone/pkg/