Skip to content

Commit 51768a5

Browse files
committed
Rename cmd/server
1 parent ebe3900 commit 51768a5

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
pkg/*/gen.go
3333
pkg/*/service.go
3434
pkg/*/setup/openapi.yml
35-
cmd/server/services_gen.go
35+
cmd/mockzilla/services_gen.go
3636
3737
build:
3838
needs: generate
@@ -72,7 +72,7 @@ jobs:
7272
ext=""
7373
if [ "$GOOS" = "windows" ]; then ext=".exe"; fi
7474
VERSION="${GITHUB_SHA::7}"
75-
go build -ldflags "-X main.version=${VERSION}" -o ${BINARY_NAME}-${GOOS}-${GOARCH}${ext} ./cmd/server/
75+
go build -ldflags "-X main.version=${VERSION}" -o ${BINARY_NAME}-${GOOS}-${GOARCH}${ext} ./cmd/mockzilla/
7676
7777
- uses: actions/upload-artifact@v4
7878
with:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ clean-cache:
1414
build: clean generate discover
1515
@echo "Go version: $(GO_VERSION)"
1616
@go mod download
17-
@go build $(GO_BUILD_FLAGS) -o ${build_dir}/server/server ./cmd/server/
17+
@go build $(GO_BUILD_FLAGS) -o ${build_dir}/mockzilla/mockzilla ./cmd/mockzilla/
1818

1919
.PHONY: mod
2020
mod:

0 commit comments

Comments
 (0)