From a152f39aab3ee4beb7fe301040dd1814d7a101ac Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 12 Oct 2024 13:47:06 -0500 Subject: [PATCH] show both ways to run this Signed-off-by: Jeff Carr --- Makefile | 3 +++ argv.go | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 ` }