Adding install and start script

This commit is contained in:
hodasemi 2018-11-21 10:08:18 +01:00
parent 3d404fa463
commit bd6a54833d
2 changed files with 16 additions and 0 deletions

11
install.sh Normal file
View file

@ -0,0 +1,11 @@
#!/bin/bash
mkdir -p install
cp bot.conf install/
cp start.sh install/
cargo update
cargo build --release
cp target/release/RMusicBot install/

5
start.sh Normal file
View file

@ -0,0 +1,5 @@
#!/bin/bash
cd $(dirname $0)
./RMusicBot