Jiří Kalvoda
2 years ago
2 changed files with 38 additions and 1 deletions
@ -0,0 +1,24 @@ |
|||||
|
#!/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 |
Loading…
Reference in new issue