mirror of
https://github.com/charmbracelet/glow
synced 2024-11-10 06:04:18 +00:00
20 lines
250 B
Makefile
20 lines
250 B
Makefile
# 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)
|