SKSP_2022_strategicka_hra/server/bin/build

24 lines
356 B
Bash
Executable file

#!/bin/bash
set -ueo pipefail
rm static/client static/client.zip -fr
mkdir -p static/client
cp ../klient/client.py static/client
cp ../klient/play.py static/client
(
cd static/client
zip ../client.zip *
)
(
cd static/client
git init -b master
git add .
git commit -m "INIT"
git update-server-info
)
ln -sr static/client/.git static/client.git