From 5d5e24a48ea8a62f9cfa3e1405124e7a164e10f9 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sat, 9 Sep 2023 14:07:02 +0200 Subject: [PATCH] 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. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 158ab498d..f10109c19 100644 --- a/Makefile +++ b/Makefile @@ -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