Skip to content

Commit

Permalink
Merge pull request #34 from hathora/improve-go-install-binary-name
Browse files Browse the repository at this point in the history
Improve go install binary name
  • Loading branch information
drewfead authored Jun 25, 2024
2 parents c73e33a + feb0802 commit 3bda4be
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN go mod download

# copy source
COPY Makefile Makefile
COPY hathora.go hathora.go
COPY hathora hathora
COPY internal internal

ARG TARGETOS
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ build: ## Build the command binaries.
go build \
-o bin/hathora-${TARGETOS}-${TARGETARCH}${BINARY_SUFFIX} \
-ldflags "-X 'github.com/hathora/ci/internal/commands.BuildVersion=${BUILD_VERSION}'" \
hathora.go
hathora/main.go

.PHONY: sdk-clean
sdk-clean: ## Re-generate the SDK using speakeasyapi.dev
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ For documentation on how to use this CLI, check out our [docs.](https://hathora.
To run the CLI locally, execute the following:

```sh
go run hathora.go --help
go run hathora/main.go --help
```

### Running tests
Expand Down
File renamed without changes.

0 comments on commit 3bda4be

Please sign in to comment.