summaryrefslogtreecommitdiff
path: root/Makefile
blob: 7794a170c3039e8b25b93cee93bfefd15ac31887 (plain)
1
2
3
4
5
6
7
8
9
10
.PHONY: update_progam program.xml program.json 

src/program.xml:
	curl https://bornhack.dk/bornhack-2025/program/frab.xml > src/program.xml

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: src/program.xml src/program.json