mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-09 09:49:09 +02:00
Fix make target for logging to the local directory
This commit is contained in:
parent
f8c4ddc388
commit
05a77ff655
1 changed files with 5 additions and 4 deletions
9
Makefile
9
Makefile
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
.PHONY: default clean glow run log
|
||||
|
||||
LOGFILE := debug.log
|
||||
|
||||
default: glow
|
||||
|
||||
clean:
|
||||
|
|
@ -11,9 +13,8 @@ glow:
|
|||
go build
|
||||
|
||||
run: clean glow
|
||||
export GLOW_UI_LOGFILE=debug.log
|
||||
./glow
|
||||
GLOW_UI_LOGFILE=$(LOGFILE) ./glow
|
||||
|
||||
log:
|
||||
> debug.log
|
||||
tail -f debug.log
|
||||
> $(LOGFILE)
|
||||
tail -f $(LOGFILE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue