summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index eb9c574..dc8304f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,15 @@
.PHONY: setconfig run lint setup-whisper build-whisper download-whisper-model docker-up docker-down docker-logs noextra-run noextra-server
+
run: setconfig
go build -tags extra -o gf-lt && ./gf-lt
+build-debug:
+ go build -gcflags="all=-N -l" -tags extra -o gf-lt
+
+debug: build-debug
+ dlv exec --headless --accept-multiclient --listen=:2345 ./gf-lt
+
server: setconfig
go build -tags extra -o gf-lt && ./gf-lt -port 3333