## Summary Move the publisher CLI from `tools/publisher/` to `cmd/publisher/` as it's a proper application rather than a development utility. This addresses feedback from @rdimitrov in PR #324 that the publisher CLI should be under `cmd/` since it's not really a tool in the same sense as other helpers in the `tools/` folder. ## Changes - Moved `tools/publisher/` directory to `cmd/publisher/` - Updated Makefile build and clean targets - Updated README.md documentation links - Updated VS Code launch configuration - Updated integration test script - Updated FAQ documentation - Fixed Go import paths in publisher code --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: adam jones <domdomegg@users.noreply.github.com>
20 lines
438 B
Shell
Executable file
20 lines
438 B
Shell
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cleanup() {
|
|
echo "========== registry logs =========="
|
|
docker logs registry || true
|
|
echo "=========== cleaning up ==========="
|
|
docker compose down -v
|
|
}
|
|
|
|
go build -o ./bin/publisher ./cmd/publisher
|
|
|
|
docker build -t registry .
|
|
|
|
trap cleanup EXIT
|
|
|
|
docker compose -f docker-compose.yml -f tests/integration/docker-compose.integration-test.yml up --wait --wait-timeout 60
|
|
|
|
go run tests/integration/main.go
|