From 3dc88244e142493f298b89392087cee590beacf6 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Wed, 23 Sep 2020 15:12:10 +0100 Subject: [PATCH] build/deploy scripts --- build.sh | 9 +++++++++ deploy.sh | 4 ++++ 2 files changed, 13 insertions(+) create mode 100644 build.sh create mode 100644 deploy.sh diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..6e06e08 --- /dev/null +++ b/build.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +cargo build --release +cp target/release/lull . +strip lull +zip -r lull.zip README.md lull +rm lull + +zip -r sounds.zip README.md sounds/* diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..2b70002 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +butler push lull.zip ruin/lull:linux +butler push sounds.zip ruin/lull:sounds