summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 8 insertions, 2 deletions
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