mirror of
https://github.com/charmbracelet/glow
synced 2024-12-13 21:52:37 +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)
|