game/old/dist_serv

11 lines
217 B
Plaintext
Raw Normal View History

2020-05-11 19:52:50 -05:00
#!/usr/bin/env bash
rm -rf serv
mkdir serv
mkdir serv/code
mkdir serv/worlds
cp -r lib blocks.py recipes.py serv/code
cp serv.py serv/code
echo "#!/usr/bin/env bash
python3 code/serv.py" > serv/run
chmod u+x serv/run