#!/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
sleep 1
tar czf ../yurdle_server.tar.gz ./*