chartdata: ./hledger-vega cleandata: rm -f charts/*.csv localvega: vega vega-lite vega-embed cleanvega: rm -f vega*@* vegaVersion = 5 vegaLiteVersion = 5 vegaEmbedVersion = 6 vega: .FORCE curl https://cdn.jsdelivr.net/npm/vega@$(vegaVersion) > vega@$(vegaVersion) vega-lite: .FORCE curl https://cdn.jsdelivr.net/npm/vega-lite@$(vegaLiteVersion) > vega-lite@$(vegaLiteVersion) vega-embed: .FORCE curl https://cdn.jsdelivr.net/npm/vega-embed@$(vegaEmbedVersion) > vega-embed@$(vegaEmbedVersion) #SERVECMD=python3 -m http.server # port 8000 SERVECMD=caddy file-server # port 80 serve: .FORCE $(SERVECMD) .PHONY: all .FORCE clean: cleandata cleanvega