summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-12 13:47:06 -0500
committerJeff Carr <[email protected]>2024-10-12 13:47:06 -0500
commita152f39aab3ee4beb7fe301040dd1814d7a101ac (patch)
tree54a41421f18aa78280a982696d9c4fd5ac424a7b
parent99999b9654cdf69e6cc5a2ac6f956ecbb6bdc44b (diff)
show both ways to run this
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--Makefile3
-rw-r--r--argv.go4
2 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e993e57..89e7cc6 100644
--- a/Makefile
+++ b/Makefile
@@ -58,3 +58,6 @@ clean:
# this will test the golang.org/x -> googlesource override
git-clone:
./go-clone --recursive --go-src --no-work go.wit.com/lib/daemons/virtigod
+
+debian:
+ go-deb --no-gui --repo go.wit.com/apps/go-clone
diff --git a/argv.go b/argv.go
index 77a4999..c0df176 100644
--- a/argv.go
+++ b/argv.go
@@ -21,8 +21,10 @@ By default, go-clone will find your go.work file and work from there.
Otherwise, it will create a work/ directory.
This will recursively clone the sources for this app into a work/ directory:
+ go-clone --recursive go.wit.com/apps/go-clone
-go-clone --recursive go.wit.com/apps/go-clone
+This will recursively clone the sources 'the old way' into ~/go/src:
+ go-clone --recursive --go-src --no-work go.wit.com/apps/go-clone
`
}