aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-04-20 16:13:31 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-04-20 16:13:31 +0200
commit737113ca1f4bc8ca30b61d9f7ab674e814375c35 (patch)
treee8b24310a68488c7a8efcfdf83b14179b05e311b /Makefile
parentea26916be0ea693b6aefc46f3eeb62e44b8d7cb0 (diff)
downloaddict-737113ca1f4bc8ca30b61d9f7ab674e814375c35.tar.gz
dict-737113ca1f4bc8ca30b61d9f7ab674e814375c35.tar.bz2
dict-737113ca1f4bc8ca30b61d9f7ab674e814375c35.zip
ref: Remove debugging logs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a04902b..8190661 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,6 @@ BIN?=bin/dict
GO_BUILD=go build -v --tags "fts5"
GO_RUN=go run -v --tags "fts5"
-
buid: ext
$(GO_BUILD) -o $(BIN) ./cmd/dict/main.go
@@ -12,6 +11,9 @@ run: ext
import: ext
$(GO_RUN) ./cmd/dict/main.go import
+serve: ext
+ $(GO_RUN) ./cmd/dict/main.go serve
+
ext:
gcc -shared -o ext/libsqlite3ext.so -fPIC ext/spellfix.c