Skip to content

Commit 4fc9e8f

Browse files
authored
feat: renames yardstick packages (#9)
Signed-off-by: ChrisJBurns <[email protected]>
1 parent 4547876 commit 4fc9e8f

File tree

11 files changed

+8
-7
lines changed

11 files changed

+8
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
--platform=linux/amd64,linux/arm64 \
6969
--base-import-paths \
7070
--tags $VERSION,latest \
71-
./cmd/server
71+
./cmd/yardstick-server
7272
7373
- name: Install Cosign
7474
uses: sigstore/cosign-installer@3454372f43399081ed03b604cb2d021dabca52bb # v3.8.2

.ko.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
builds:
22
- id: yardstick-server
33
dir: .
4-
main: ./cmd/server
4+
main: ./cmd/yardstick-server
55
ldflags:
66
- -X main.version={{.Env.VERSION}}
77
labels:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
An MCP Server and Client that provides a yardstick implementation and reference for testing. </span>
1111

1212
## Features
13-
- [Server](./cmd/server/README.md)
13+
- [Server](./cmd/yardstick-server/README.md)
1414
- **Full Transport Coverage**: Supports running in all three transport types (`stdio`,`sse` and `streamable-http`)
1515
- **Deterministic response**: Provides the ability for deterministic testing, ensuring each response is tied to its specific request
1616
- **Securely built**: Secure and minimal OCI Image that does not require elevated privileges to run

Taskfile.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ version: '3'
33
vars:
44
BINARY_NAME: yardstick
55
BUILD_DIR: build
6-
MAIN_PACKAGE: ./cmd/server
7-
CLIENT_PACKAGE: ./cmd/client
6+
MAIN_PACKAGE: ./cmd/yardstick-server
7+
CLIENT_PACKAGE: ./cmd/yardstick-client
88
CLIENT_BINARY_NAME: yardstick-client
99

1010
tasks:
@@ -77,7 +77,8 @@ tasks:
7777
install:
7878
desc: Install dependencies
7979
cmds:
80-
- go mod download
80+
- go install -v ./cmd/yardstick-server
81+
- go install -v ./cmd/yardstick-client
8182

8283
build-image:
8384
desc: Build the image locally with ko
@@ -91,4 +92,4 @@ tasks:
9192
else
9293
PLATFORM="linux/amd64"
9394
fi
94-
ko build ./cmd/server --bare --local --platform=$PLATFORM
95+
ko build ./cmd/yardstick-server --bare --local --platform=$PLATFORM
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)