From aeb2700d14c23c175376e2a5749295cd9a5d72c7 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sat, 3 Jan 2026 09:59:33 +0300 Subject: Refactor: building binary with no extra --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b845e6f..fff1acf 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: setconfig run lint setup-whisper build-whisper download-whisper-model docker-up docker-down docker-logs +.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 -o gf-lt && ./gf-lt @@ -6,6 +6,12 @@ run: setconfig server: setconfig go build -o gf-lt && ./gf-lt -port 3333 +noextra-run: setconfig + go build -tags '!extra' -o gf-lt && ./gf-lt + +noextra-server: setconfig + go build -tags '!extra' -o gf-lt && ./gf-lt -port 3333 + setconfig: find config.toml &>/dev/null || cp config.example.toml config.toml -- cgit v1.2.3