Rename mesh-control -> mesh-controller, substrate -> foundation
One name per thing, per the HQ glossary: the module/container/image/binary/repo becomes mesh-controller, the seat the-controller, and the store+broker pair the foundation (embedded base bundles, default template and example lock renamed with their go:embed directives). No behaviour change — a pure vocabulary rename. Claude-Session: https://claude.ai/code/session_01D6qtiYU3P9jk3pnAXyAFyx
This commit is contained in:
@@ -12,20 +12,20 @@ LDFLAGS := -s -w -X main.version=$(VERSION)
|
||||
# touches a database anybody else is using. Override PG_PORT if this one is taken -- the first
|
||||
# port chosen was already serving something that had been up for six days.
|
||||
PG_PORT ?= 55532
|
||||
PG_CONTAINER ?= mesh-control-check
|
||||
PG_CONTAINER ?= mesh-controller-check
|
||||
PG_IMAGE ?= postgres:17-alpine
|
||||
export MESH_TEST_POSTGRES ?= postgres://postgres:check@127.0.0.1:$(PG_PORT)/postgres?sslmode=disable
|
||||
|
||||
.PHONY: build image check test vet fmt postgres postgres-stop clean
|
||||
|
||||
build:
|
||||
CGO_ENABLED=0 go build -trimpath -ldflags '$(LDFLAGS)' -o build/mesh-control ./cmd/mesh-control
|
||||
CGO_ENABLED=0 go build -trimpath -ldflags '$(LDFLAGS)' -o build/mesh-controller ./cmd/mesh-controller
|
||||
|
||||
# Tagged 'development' as well as by version, because the lab places images by name and a
|
||||
# scenario naming a version would have to be edited on every build. The version tag is what a
|
||||
# real bundle pins.
|
||||
IMAGE ?= mesh-control:$(VERSION)
|
||||
DEV_TAG ?= mesh-control:development
|
||||
IMAGE ?= mesh-controller:$(VERSION)
|
||||
DEV_TAG ?= mesh-controller:development
|
||||
|
||||
image:
|
||||
docker build --build-arg VERSION=$(VERSION) -t $(IMAGE) -t $(DEV_TAG) .
|
||||
|
||||
Reference in New Issue
Block a user