diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -8,10 +8,16 @@ this tool was written. gohack has a good justification for this kind of tool. ## go-glone itself -This will make a work directory and download everything needs to compile go-clone. +This will download the sources for go-clone: go-clone go.wit.com/apps/go-clone +go-clone works in ~/go/src unless it finds a go.work file in a parent dir +If you are using a go.work file, this will autocreate one. The old +one is saved as go.work.last + + go-clone --auto-work go.wit.com/apps/go-clone + Or to recursively clone all the build dependancies: go-clone --recursive go.wit.com/apps/go-clone @@ -25,7 +31,7 @@ Or to recursively clone all the build dependancies: * use protobuf * move edge case mappings to a config file -## Gohack: mutable checkouts of Go module dependencies +## these are notes from Gohack: mutable checkouts of Go module dependencies The new Go module system is awesome. It ensures repeatable, deterministic builds of Go code. External module code is cached locally in a read-only |
