First commit of Above the Waters

This commit is contained in:
Juhani Krekelä 2020-08-23 18:13:49 +03:00
parent 15c99d5129
commit ab3330f7fb
5 changed files with 12 additions and 9 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
in-the-temple/ above-the-waters/
*.swp *.swp
*.zip *.zip
*.tar.gz *.tar.gz

3
README Normal file
View File

@ -0,0 +1,3 @@
A game about the creation of the world.
The game is distributed under the Creative Commons Zero 1.0 Universal license.

View File

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
mkdir -p in-the-temple mkdir -p above-the-waters
cd scenes cd scenes
for i in * for i in *
do do
echo "${i%.text}" echo "${i%.text}"
python3 ../generate.py 'In the Temple' "$i" > ../in-the-temple/"${i%.text}.html" python3 ../generate.py 'Above the Waters' "$i" > ../above-the-waters/"${i%.text}.html"
done done

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
rm -rf in-the-temple/ rm -rf above-the-waters/
rm -f in-the-tempele.zip in-the-temple.tar.gz rm -f above-the-waters.zip above-the-waters.tar.gz

View File

@ -1,10 +1,10 @@
#!/bin/sh #!/bin/sh
if test ! -d in-the-temple if test ! -d above-the-waters
then then
echo "You must run build.sh first" >&2 echo "You must run build.sh first" >&2
exit 1 exit 1
fi fi
cp CC0 README in-the-temple/ cp CC0 README above-the-waters/
zip -9 -r in-the-temple.zip in-the-temple zip -9 -r above-the-waters.zip above-the-waters
tar czvf in-the-temple.tar.gz in-the-temple tar czvf above-the-waters.tar.gz above-the-waters