Change "make run" to do a build and then launch lazygit

As far as I can tell, there's not much of a difference in behavior between the
two. The advantage of doing it this way is that you can attach a debugger to the
running lazygit process; see next commit.
This commit is contained in:
Stefan Haller 2023-09-09 14:07:02 +02:00
parent de598e55a6
commit 5d5e24a48e

View File

@ -10,8 +10,8 @@ install:
go install
.PHONY: run
run:
go run main.go
run: build
./lazygit
# Run `make run-debug` in one terminal tab and `make print-log` in another to view the program and its log output side by side
.PHONY: run-debug