Yurdle/buildzip.sh

17 lines
280 B
Bash
Raw Normal View History

2024-01-06 13:27:14 +03:00
#!/bin/bash
rm -rf build/
mkdir build
2024-01-07 03:27:44 +03:00
composer update
composer install
2024-01-06 13:27:14 +03:00
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 ./*