Yurdle/buildzip.sh
2024-01-07 12:53:48 +03:00

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