missing files
This commit is contained in:
parent
95ffc0d2e9
commit
5ad0938a13
14
bin/build.sh
Executable file
14
bin/build.sh
Executable file
@ -0,0 +1,14 @@
|
||||
# bless you chris and andy <3
|
||||
|
||||
# DOES NOT WORK AT MOMENT
|
||||
|
||||
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
MNML_PATH=$(realpath "$DIR/../")
|
||||
VERSION=$(<"$MNML_PATH/VERSION")
|
||||
|
||||
make server
|
||||
cp -R "$MNML_PATH/server/target/release" "/usr/local/mnml/build/server/$VERSION"
|
||||
|
||||
make client
|
||||
cp -R "$MNML_PATH/client/dist" "/usr/local/mnml/build/client/$VERSION"
|
||||
|
||||
12
bin/deploy.sh
Executable file
12
bin/deploy.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# bless you chris and andy <3
|
||||
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
MNML_PATH=$(realpath "$DIR/../")
|
||||
VERSION=$(<"$MNML_PATH/VERSION")
|
||||
|
||||
echo "syncing /usr/local/mnml/build/server/$VERSION"
|
||||
rsync -a --delete --delete-excluded "/usr/local/mnml/build/server/$VERSION" mnml:"/usr/local/mnml/build/server/"
|
||||
|
||||
echo "syncing /usr/local/mnml/build/client/$VERSION"
|
||||
rsync -a --delete --delete-excluded "/usr/local/mnml/build/client/$VERSION" mnml:"/usr/local/mnml/build/client/"
|
||||
Loading…
x
Reference in New Issue
Block a user