Summary
Running make build-cli prints a misleading build output path:
Building ark cli binary...
Building ark for darwin arm64
Version: v0.9.3-1-g9d2f1ae3
Build complete: build/ark-darwin-arm64
The message Build complete: build/ark-darwin-arm64 suggests the binary is at build/ark-darwin-arm64 relative to the repo root, but it's actually at pkg/ark-cli/build/ark-darwin-arm64.
This is because the build script (pkg/ark-cli/scripts/build) does pushd into pkg/ark-cli/ before building, so build/ is relative to that directory — not the repo root where make build-cli was invoked.
Expected behavior
The build output should print the full path (or repo-root-relative path) so the user knows where to find the binary, e.g.:
Build complete: pkg/ark-cli/build/ark-darwin-arm64
Steps to reproduce
make build-cli
ls build/ark-darwin-arm64 # No such file or directory
ls pkg/ark-cli/build/ark-darwin-arm64 # ← actual location
Summary
Running
make build-cliprints a misleading build output path:The message
Build complete: build/ark-darwin-arm64suggests the binary is atbuild/ark-darwin-arm64relative to the repo root, but it's actually atpkg/ark-cli/build/ark-darwin-arm64.This is because the build script (
pkg/ark-cli/scripts/build) doespushdintopkg/ark-cli/before building, sobuild/is relative to that directory — not the repo root wheremake build-cliwas invoked.Expected behavior
The build output should print the full path (or repo-root-relative path) so the user knows where to find the binary, e.g.:
Steps to reproduce