Skip to content

Commit 3cf47b0

Browse files
committed
docs: fix build command and ignore compiled binary
Update build command from `go build -o reposcan ./cmd/reposcan` to `go build -o reposcan .` in README.md and CLAUDE.md to reflect that main.go lives at the repo root. Also add `/reposcan` to .gitignore to prevent the compiled binary from being accidentally committed.
1 parent 67c6d67 commit 3cf47b0

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ output-samples/
1515
# ai stuff
1616
.claude.local.me
1717
.serena/
18+
/reposcan

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RepoScan is a Go CLI tool that scans filesystems for Git repositories and report
1111
### Building
1212
```bash
1313
# Build the main binary
14-
go build -o reposcan ./cmd/reposcan
14+
go build -o reposcan .
1515

1616
# Install to $GOPATH/bin
1717
go install github.com/mabd-dev/reposcan@latest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Make sure $GOPATH/bin (or $HOME/go/bin) is in your $PATH.
4343
```sh
4444
git clone https://github.com/mabd-dev/reposcan.git
4545
cd reposcan
46-
go build -o reposcan ./cmd/reposcan
46+
go build -o reposcan .
4747
```
4848

4949

0 commit comments

Comments
 (0)