summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruser@node5.net <user@node5.net>2025-07-15 22:58:19 +0200
committeruser@node5.net <user@node5.net>2025-07-15 22:58:19 +0200
commitdfd29c57f01cd0de02a606cbe9abea7f1be5772f (patch)
tree7bcd28d93989625478d12792e60769871b3bafd0
parent288a43fcb7cf78c093e9304af40e63beb1f6ab8d (diff)
Pull this years program
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 44f0be9..7794a17 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
.PHONY: update_progam program.xml program.json
-program.xml:
- curl https://bornhack.dk/bornhack-2024/program/frab.xml > program.xml
+src/program.xml:
+ curl https://bornhack.dk/bornhack-2025/program/frab.xml > src/program.xml
-program.json:
- cat program.xml | xq '.schedule.day | map(.room) | flatten | map(.event) | map(select(. != null)) | flatten | map({title, date, room, duration}) | sort_by(.date)' > program.json
+src/program.json:
+ cat src/program.xml | xq '.schedule.day | map(.room) | flatten | map(.event) | map(select(. != null)) | flatten | map({title, date, room, duration}) | sort_by(.date)' > src/program.json
-update_progam: program.xml program.json
+update_progam: src/program.xml src/program.json