23 lines
No EOL
343 B
Bash
Executable file
23 lines
No EOL
343 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -x
|
|
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 config.php
|
|
rm composer.json
|
|
rm composer.lock
|
|
rm -rf build/
|
|
sleep 1
|
|
tar czf ../yurdle_server.tar.gz ./*
|
|
|
|
set +x |