Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46da71dd2c |
No files matched your search
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
# Target bodies live in script/ (Scripts to Rule Them All); the targets
|
# Target bodies live in script/ (Scripts to Rule Them All); the targets
|
||||||
# below are thin shims that call them.
|
# below are thin shims that call them.
|
||||||
.DEFAULT_GOAL := build
|
.DEFAULT_GOAL := check
|
||||||
|
|
||||||
VERSION ?= $(shell git describe --tags --always)
|
VERSION ?= $(shell git describe --tags --always)
|
||||||
|
|
||||||
@@ -37,9 +37,7 @@ cibuild:
|
|||||||
hooks:
|
hooks:
|
||||||
@script/install-precommit
|
@script/install-precommit
|
||||||
|
|
||||||
build: ./bin/rtnetmon
|
build:
|
||||||
|
|
||||||
./bin/rtnetmon: ./cmd ./internal go.sum go.mod
|
|
||||||
CGO_ENABLED=0 go build -trimpath -ldflags "-X main.Version=$(VERSION)" \
|
CGO_ENABLED=0 go build -trimpath -ldflags "-X main.Version=$(VERSION)" \
|
||||||
-o bin/rtnetmon ./cmd/rtnetmon
|
-o bin/rtnetmon ./cmd/rtnetmon
|
||||||
|
|
||||||
|
|||||||
@@ -15,27 +15,3 @@ from `main` onto `prod`; `prod` never follows `main` automatically.
|
|||||||
|
|
||||||
Other issue branches do not touch this file; it changes only in its own PR to
|
Other issue branches do not touch this file; it changes only in its own PR to
|
||||||
`next`, because every branch editing `TODO.md` conflicts with every other.
|
`next`, because every branch editing `TODO.md` conflicts with every other.
|
||||||
|
|
||||||
# Status
|
|
||||||
|
|
||||||
On `next`:
|
|
||||||
|
|
||||||
- Repo standards (https://git.eeqj.de/sneak/rtnetmon/issues/1): the `script/`
|
|
||||||
entrypoints, the vendored `.golangci.yml`, and `REPO_POLICIES.md`.
|
|
||||||
- Interface detection on Linux and macOS
|
|
||||||
(https://git.eeqj.de/sneak/rtnetmon/issues/2).
|
|
||||||
- The fix for macOS VPN detection (https://git.eeqj.de/sneak/rtnetmon/issues/8).
|
|
||||||
- Starlink status lines (https://git.eeqj.de/sneak/rtnetmon/issues/3).
|
|
||||||
- A version stamp: built with `make build` or a plain `docker build .`, the
|
|
||||||
binary logs its git tag or short commit at startup
|
|
||||||
(https://git.eeqj.de/sneak/rtnetmon/issues/10).
|
|
||||||
- CI that runs `script/cibuild` on every push to a branch
|
|
||||||
(https://git.eeqj.de/sneak/rtnetmon/issues/12).
|
|
||||||
|
|
||||||
# Next Step
|
|
||||||
|
|
||||||
- `sneak` merges the milestone PR, https://git.eeqj.de/sneak/rtnetmon/pulls/6,
|
|
||||||
carrying `next` into `main`.
|
|
||||||
- A first run on a real Mac of what is on `next` now. The fix for
|
|
||||||
https://git.eeqj.de/sneak/rtnetmon/issues/8 has not run on a Mac yet;
|
|
||||||
`sneak`'s first run on his Mac is its test.
|
|
||||||
Reference in new issue
Block a user