1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# This Makefile is just for development purposes .PHONY: default clean glow run log LOGFILE := debug.log default: glow clean: rm -f ./glow glow: go build run: clean glow GLOW_LOGFILE=$(LOGFILE) ./glow log: > $(LOGFILE) tail -f $(LOGFILE)