~technomancy/fennel-lang.org

fennel-lang.org/survey/Makefile -rw-r--r-- 685 bytes
25a294adPhil Hagelberg Remove the bit about submitting fennelconf 2021 talks. a day ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
upload: index.html save.cgi thanks.html 2021.html
	rsync -rAv $^ fenneler@fennel-lang.org:fennel-lang.org/survey/

index.html: survey.fnl questions.fnl
	../fennel/fennel --add-fennel-path "../?.fnl" $< > $@

2021.html: summary.fnl chart.fnl questions.fnl responses/* commentary/2021/*
	../fennel/fennel --add-fennel-path "../?.fnl" $< > $@

repl:
	../fennel/fennel --add-fennel-path "../?.fnl"

save.cgi: save.fnl
	echo "#!/usr/bin/env lua" > $@
	../fennel/fennel --compile $< >> $@
	chmod 755 $@

pull:
	rsync -rA fenneler@fennel-lang.org:fennel-lang.org/survey/responses/ responses/
	ls responses | wc -l

clean: ; rm -f save.cgi index.html 2021.html

.PHONY: upload clean pull repl