summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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