Goop 1.8.0
Goop 1.8.0 delivers a full Goop build: edit .goop, run goop build /
goop test, and never see generated .go or .map.json in your project tree.
Highlights
- Cache-only artifacts:
goop compileandgoop buildwrite under
$GOOP_HOME/build(default~/.cache/goop/build). - Real
goop build: transitiveimport goopdependencies are compiled
into the sandbox and linked viareplace— the same wiringgoop test
already used. - Source maps opt-in:
--emit-map;--in-treeremains for inspecting
generated Go or mixed Go+Goop packages. - Clean trees: no leaked
go.modbeside sources; CI asserts examples stay
free of generated.go.
Workflow
goop check main.goop
goop build main.goop # → ./goop-out for module main
goop test examples/See docs/design/20-cli-artifacts.md.
Verification
go test ./...(fromsrc/) — all packages greengoop test tests/→ 101+ passedgoop build docs/examples/hello.goopwith no.goleft indocs/examples/- Treelog:
goop test examples/with the 1.8.0 binary