Yurdle/buildzip.sh

23 lines
343 B
Bash
Raw Permalink Normal View History

2024-01-06 13:27:14 +03:00
#!/bin/bash
2024-01-07 12:53:48 +03:00
set -x
2024-01-06 13:27:14 +03:00
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
2024-01-07 12:53:48 +03:00
rm config.php
rm composer.json
rm composer.lock
2024-01-06 13:27:14 +03:00
rm -rf build/
sleep 1
2024-01-07 12:53:48 +03:00
tar czf ../yurdle_server.tar.gz ./*
set +x