Adding install and start script
This commit is contained in:
parent
3d404fa463
commit
bd6a54833d
2 changed files with 16 additions and 0 deletions
11
install.sh
Normal file
11
install.sh
Normal 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
5
start.sh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd $(dirname $0)
|
||||||
|
|
||||||
|
./RMusicBot
|
Loading…
Reference in a new issue