From 2d842440365cf128b456d4a4e59433eb28e8f1ea Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 15 Nov 2024 13:25:52 -0600 Subject: argv logic handling was bungled Signed-off-by: Jeff Carr --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a32d26d..4c168ff 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3