]> foleosoft.com Git - QAnsel.git/commitdiff
Sun Jan 19 09:21:53 PM EST 2025
authorserver <[email protected]>
Mon, 20 Jan 2025 02:21:53 +0000 (21:21 -0500)
committerserver <[email protected]>
Mon, 20 Jan 2025 02:21:53 +0000 (21:21 -0500)
Makefile
bin/qansel-source-web.zip [new file with mode: 0644]
build.sh

index ce398c851f15dbd0a557097b13734d73cbcfd24e..64a1ec09f401582155c456f3b5768fcb1f6dc6cd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,5 +7,11 @@ simple:
 source:
        bash build.sh src
 
+web:
+       bash build.sh www
+
 requirements:
        sudo apt install libsdl2-dev
+
+readme:
+       @pandoc -f markdown -t html -o - README.md
diff --git a/bin/qansel-source-web.zip b/bin/qansel-source-web.zip
new file mode 100644 (file)
index 0000000..316cbf5
Binary files /dev/null and b/bin/qansel-source-web.zip differ
index 6670efb21e18a03af2c3be2089d00af1528813d2..6e9bfa0bb3609bbfd0087956725c6dae1d88bcb5 100644 (file)
--- a/build.sh
+++ b/build.sh
@@ -11,6 +11,14 @@ then
        exit
 fi
 
+if [ "$1" = "www" ]
+then
+       cd src/www
+       find . -iname '*' | zip -@ ../../bin/qansel-source-web.zip
+       cd ../..
+       exit
+fi
+
 echo "Verifying build commands exist..."
 for i in echo cat grep sed xxd gcc rm printf uname
 do