build: use WEB_GO for web targets and preserve backend dist directory#1671
Merged
wj-xiao merged 1 commit intosipeed:mainfrom Mar 17, 2026
Merged
build: use WEB_GO for web targets and preserve backend dist directory#1671wj-xiao merged 1 commit intosipeed:mainfrom
wj-xiao merged 1 commit intosipeed:mainfrom
Conversation
Separate web Go commands from the default Go toolchain so web builds, tests, and vet can enable CGO on Darwin without affecting the rest of the project. Also ensure frontend backend builds recreate backend/dist with a .gitkeep file so the embedded output directory remains tracked.
916BGAI
approved these changes
Mar 17, 2026
taorye
approved these changes
Mar 17, 2026
alexhoshina
pushed a commit
to alexhoshina/picoclaw
that referenced
this pull request
Mar 17, 2026
…sipeed#1671) Separate web Go commands from the default Go toolchain so web builds, tests, and vet can enable CGO on Darwin without affecting the rest of the project. Also ensure frontend backend builds recreate backend/dist with a .gitkeep file so the embedded output directory remains tracked.
j0904
pushed a commit
to j0904/picoclaw
that referenced
this pull request
Mar 22, 2026
…sipeed#1671) Separate web Go commands from the default Go toolchain so web builds, tests, and vet can enable CGO on Darwin without affecting the rest of the project. Also ensure frontend backend builds recreate backend/dist with a .gitkeep file so the embedded output directory remains tracked.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
Separate the web Go toolchain from the default project Go toolchain so web targets can enable CGO on Darwin without affecting the rest of the repository. This also preserves
web/backend/distafter frontend backend builds by recreating.gitkeep, so the embedded output directory remains tracked.🗣️ Type of Change
🤖 AI Code Generation
🔗 Related Issue
N/A
📚 Technical Context (Skip for Docs)
GOtoolchain unchanged while allowing web-specific build, test, and vet commands to useCGO_ENABLED=1on Darwin. Also restoreweb/backend/dist/.gitkeepaftervite build --emptyOutDirso the embedded backend output directory stays tracked in git.🧪 Test Environment
📸 Evidence (Optional)
Click to view Logs/Screenshots
☑️ Checklist