summaryrefslogtreecommitdiff
path: root/build-feed.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-feed.sh')
-rwxr-xr-xbuild-feed.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/build-feed.sh b/build-feed.sh
new file mode 100755
index 0000000..f537e96
--- /dev/null
+++ b/build-feed.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# TODO: someday, generate both concerts page and feeds from a
+# plaintext list of concerts.
+
+set -eu
+
+input=$1
+output=$2
+
+. settings.sh
+
+sed s,'{DOMAIN}',"${domain}", "${input}" > "${output}"