@@ -176,6 +176,11 @@ tasks:
176176 desc : Run all tests (unit and e2e)
177177 deps : [test, test-e2e]
178178
179+ test-optimizer :
180+ desc : Run optimizer integration tests with sqlite-vec
181+ cmds :
182+ - ./scripts/test-optimizer-with-sqlite-vec.sh
183+
179184 build :
180185 desc : Build the binary
181186 deps : [gen]
@@ -219,12 +224,12 @@ tasks:
219224 cmds :
220225 - cmd : mkdir -p bin
221226 platforms : [linux, darwin]
222- - cmd : go build -ldflags "-s -w -X github.com/stacklok/toolhive/pkg/versions.Version={{.VERSION}} -X github.com/stacklok/toolhive/pkg/versions.Commit={{.COMMIT}} -X github.com/stacklok/toolhive/pkg/versions.BuildDate={{.BUILD_DATE}}" -o bin/vmcp ./cmd/vmcp
227+ - cmd : go build -tags="fts5" - ldflags "-s -w -X github.com/stacklok/toolhive/pkg/versions.Version={{.VERSION}} -X github.com/stacklok/toolhive/pkg/versions.Commit={{.COMMIT}} -X github.com/stacklok/toolhive/pkg/versions.BuildDate={{.BUILD_DATE}}" -o bin/vmcp ./cmd/vmcp
223228 platforms : [linux, darwin]
224229 - cmd : cmd.exe /c mkdir bin
225230 platforms : [windows]
226231 ignore_error : true
227- - cmd : go build -ldflags "-s -w -X github.com/stacklok/toolhive/pkg/versions.Version={{.VERSION}} -X github.com/stacklok/toolhive/pkg/versions.Commit={{.COMMIT}} -X github.com/stacklok/toolhive/pkg/versions.BuildDate={{.BUILD_DATE}}" -o bin/vmcp.exe ./cmd/vmcp
232+ - cmd : go build -tags="fts5" - ldflags "-s -w -X github.com/stacklok/toolhive/pkg/versions.Version={{.VERSION}} -X github.com/stacklok/toolhive/pkg/versions.Commit={{.COMMIT}} -X github.com/stacklok/toolhive/pkg/versions.BuildDate={{.BUILD_DATE}}" -o bin/vmcp.exe ./cmd/vmcp
228233 platforms : [windows]
229234
230235 install-vmcp :
@@ -236,7 +241,7 @@ tasks:
236241 sh : git rev-parse --short HEAD || echo "unknown"
237242 BUILD_DATE : ' {{dateInZone "2006-01-02T15:04:05Z" (now) "UTC"}}'
238243 cmds :
239- - go install -ldflags "-s -w -X github.com/stacklok/toolhive/pkg/versions.Version={{.VERSION}} -X github.com/stacklok/toolhive/pkg/versions.Commit={{.COMMIT}} -X github.com/stacklok/toolhive/pkg/versions.BuildDate={{.BUILD_DATE}}" -v ./cmd/vmcp
244+ - go install -tags="fts5" - ldflags "-s -w -X github.com/stacklok/toolhive/pkg/versions.Version={{.VERSION}} -X github.com/stacklok/toolhive/pkg/versions.Commit={{.COMMIT}} -X github.com/stacklok/toolhive/pkg/versions.BuildDate={{.BUILD_DATE}}" -v ./cmd/vmcp
240245
241246 all :
242247 desc : Run linting, tests, and build
0 commit comments