-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathjustfile
More file actions
43 lines (34 loc) · 917 Bytes
/
justfile
File metadata and controls
43 lines (34 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
api_version := "2025-10"
default:
@just --list
build:
go build -v ./...
go vet ./...
build-clean:
go build -a -v ./...
go vet ./...
build-pinecone:
go build -v ./pinecone
go vet ./pinecone
test:
#!/usr/bin/env bash
set -o allexport
source .env
set +o allexport
go test -count=1 -v ./pinecone
test-unit:
#!/usr/bin/env bash
set -o allexport
source .env
set +o allexport
go test -v -run Unit ./pinecone
bootstrap:
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.32
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3
go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.3.0
go install golang.org/x/tools/cmd/godoc@latest
gen:
./codegen/build-clients.sh {{api_version}}
docs:
@echo "Serving docs at http://localhost:6060/pkg/github.com/pinecone-io/go-pinecone/v5/pinecone/"
@godoc -http=:6060 >/dev/null