diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-01-03 09:59:33 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-01-03 09:59:33 +0300 |
| commit | aeb2700d14c23c175376e2a5749295cd9a5d72c7 (patch) | |
| tree | e34a5860da644b2d4747e4091f23805a63ede180 /Makefile | |
| parent | 6b875a2782e77afe6595b47d069a217fa2702eb1 (diff) | |
Refactor: building binary with no extra
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |
