-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
Summary
dev/llgo.sh should always rebuild llgo with go install -tags=dev ./cmd/llgo, but at the moment the wrapper only ensures the CLI exists and runs go install ./cmd/llgo without dev tags when it thinks a rebuild is necessary.
Steps to Reproduce
- Run
./dev/llgo.sh versiononce;_llgo_ensure_llgo_cliinstallsllgoat$GOBIN/llgo. - Without touching any files under
cmd/llgo, run./dev/llgo.sh versionagain. - Observe that no
go installis executed, so the binary executed is the previous installation, built without thedevtag.
Expected Behavior
Every invocation of dev/llgo.sh should rebuild with go install -tags=dev ./cmd/llgo so the dev build is used regardless of whether llgo is already installed.
Actual Behavior
dev/_llgo_setup.sh:38-55 only runs go install ./cmd/llgo when llgo is missing or when files in cmd/llgo are newer than the binary, so dev/llgo.sh (dev/llgo.sh:4-10) usually just reuses an existing binary that lacks the dev tag.
Additional Context
Making go install -tags=dev ./cmd/llgo unconditional in dev/llgo.sh would match the intended workflow described in the dev docs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels