You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
356 B
25 lines
356 B
2 years ago
|
#!/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
|