Skip to content

Commit e66bab2

Browse files
committed
refactoring: cmd/deflux/main.go -> main.go
There's only a single build artefact. No need for a `cmd` sub folder.
1 parent 46507c7 commit e66bab2

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -319,16 +319,12 @@ time age_secs battery id name pressure source type
319319

320320
## Development
321321

322-
The software can be built with standard Go tooling:
323-
324-
```bash
325-
go build -o deflux cmd/deflux/main.go
326-
```
322+
The software can be built with standard Go tooling (`go build`).
327323

328324
You can cross-compile for Raspberry Pi 4 by setting `GOARCH` and `GOARM`:
329325

330326
```bash
331-
GOOS=linux GOARCH=arm GOARM=7 go build -o deflux cmd/deflux/main.go
327+
GOOS=linux GOARCH=arm GOARM=7 go build
332328
```
333329

334330
A pre-commit hook is available to check for linting errors before each commit. You need to install the hook after
File renamed without changes.

0 commit comments

Comments
 (0)