summaryrefslogtreecommitdiff
path: root/sitegen
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-06 00:40:22 +0000
committerdavidovski <david@davidovski.xyz>2022-02-06 00:40:22 +0000
commit2c82b81fcd8fc723712ac605041da5142f765730 (patch)
treeda3ebf0f981d9f6e6bf4ccecef4ba55c044ae0a3 /sitegen
parent0b0913a10d6714015f1d1afa1a737086e20bac41 (diff)
moved src files to xibuild files
Diffstat (limited to 'sitegen')
-rw-r--r--sitegen/build_site.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/sitegen/build_site.sh b/sitegen/build_site.sh
new file mode 100644
index 0000000..8daef8c
--- /dev/null
+++ b/sitegen/build_site.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+# builds the html files required for the xilinux website
+
+generate_index () {
+ envsubst < templ/index.html
+}
+
+generate_package_list() {
+ local repo_dir=$1
+ for info_file in $repo_dir/*.xipkg.info; do
+
+ done;
+}
+
+"$XIB_CHROOT"/