17 lines
No EOL
280 B
Bash
Executable file
17 lines
No EOL
280 B
Bash
Executable file
#!/bin/bash
|
|
|
|
rm -rf build/
|
|
mkdir build
|
|
composer update
|
|
composer install
|
|
cp -r ./* build/
|
|
cp -r ../YurdleBackend/* build/
|
|
cd build/ || exit
|
|
rm data.toml
|
|
rm README.md
|
|
rm yurdle_server.tar.gz
|
|
rm buildzip.sh
|
|
rm dockerserver.sh
|
|
rm -rf build/
|
|
sleep 1
|
|
tar czf ../yurdle_server.tar.gz ./* |