Skip to content

Commit de72885

Browse files
committed
Restructure cmd dir so go install works correctly
1 parent ca7ab59 commit de72885

File tree

8 files changed

+4
-4
lines changed

8 files changed

+4
-4
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ before:
1212

1313
builds:
1414
- id: gonzo
15-
main: ./cmd
15+
main: ./cmd/gonzo
1616
binary: gonzo
1717
env:
1818
- CGO_ENABLED=0

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Project configuration
55
BINARY_NAME := gonzo
6-
CMD_DIR := ./cmd
6+
CMD_DIR := ./cmd/gonzo
77
BUILD_DIR := ./build
88
DIST_DIR := ./dist
99

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ A powerful, real-time log analysis terminal UI inspired by k9s. Analyze log stre
5959

6060
#### Using Go
6161
```bash
62-
go install github.com/control-theory/gonzo/cmd@latest
62+
go install github.com/control-theory/gonzo/cmd/gonzo@latest
6363
```
6464

6565
#### Using Homebrew (macOS/Linux)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ <h2>🚀 Quick Installation</h2>
347347
<div class="install-card">
348348
<h3>Using Go</h3>
349349
<p>Install directly with Go (requires Go 1.21+)</p>
350-
<div class="code-block">$ go install github.com/control-theory/gonzo/cmd@latest</div>
350+
<div class="code-block">$ go install github.com/control-theory/gonzo/cmd/gonzo@latest</div>
351351
</div>
352352
<div class="install-card">
353353
<h3>Using Homebrew</h3>

0 commit comments

Comments
 (0)