From ca56eb2fe12d527ed6b354165e206ad2d7583bb3 Mon Sep 17 00:00:00 2001 From: ZanzyTHEbar Date: Wed, 18 Feb 2026 15:52:42 +0000 Subject: [PATCH] build: rename output directory from build/ to bin/ Consolidates build artifact output to bin/ for consistency with Go project conventions. Updates Makefile BUILD_DIR, Dockerfile COPY path, README onboard instructions, and gitignore entries. --- .gitignore | 2 -- Dockerfile | 2 +- Makefile | 2 +- README.md | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 12e0af06e..ce7af606f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ # Binaries # Go build artifacts bin/ -build/ *.exe *.dll *.so @@ -18,7 +17,6 @@ cmd/picoclaw/workspace .picoclaw/ config.json sessions/ -build/ # Coverage diff --git a/Dockerfile b/Dockerfile index 0360cfda6..cef87e196 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD wget -q --spider http://localhost:18790/health || exit 1 # Copy binary -COPY --from=builder /src/build/picoclaw /usr/local/bin/picoclaw +COPY --from=builder /src/bin/picoclaw /usr/local/bin/picoclaw # Create non-root user and group RUN addgroup -g 1000 picoclaw && \ diff --git a/Makefile b/Makefile index 0f651b5c2..486e75130 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # Build variables BINARY_NAME=picoclaw -BUILD_DIR=build +BUILD_DIR=bin CMD_DIR=cmd/$(BINARY_NAME) MAIN_GO=$(CMD_DIR)/main.go diff --git a/README.md b/README.md index 080651e45..100245c3a 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ make build ```bash # Initialize config and workspace -./build/picoclaw onboard +./bin/picoclaw onboard ``` Edit `~/.picoclaw/config.json`: