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
*.zip
*.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
mkdir -p in-the-temple
mkdir -p above-the-waters
cd scenes
for i in *
do
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

View File

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

View File

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