parent
d7284f55c1
commit
e3aeae59e0
24
README.md
24
README.md
|
@ -2,6 +2,19 @@
|
||||||
5 years earlier, [gohack](https://github.com/rogpeppe/gohack) was written for the same reasons
|
5 years earlier, [gohack](https://github.com/rogpeppe/gohack) was written for the same reasons
|
||||||
this tool was written. gohack has a good justification for this kind of tool so here it is:
|
this tool was written. gohack has a good justification for this kind of tool so here it is:
|
||||||
|
|
||||||
|
## Install go-glone
|
||||||
|
|
||||||
|
go install go.wit.com/apps/go-clone@latest
|
||||||
|
|
||||||
|
## go-glone itself
|
||||||
|
|
||||||
|
This will make a work directory and download everything needs to compile go-clone.
|
||||||
|
|
||||||
|
go-clone go.wit.com/apps/go-clone
|
||||||
|
|
||||||
|
Or to recursively get all build dependancies:
|
||||||
|
|
||||||
|
go-clone --recursive go.wit.com/apps/go-clone
|
||||||
|
|
||||||
## Gohack: mutable checkouts of Go module dependencies
|
## Gohack: mutable checkouts of Go module dependencies
|
||||||
|
|
||||||
|
@ -23,14 +36,3 @@ Luckily the modules system provides a way around this: you can add a
|
||||||
`replace` statement to the `go.mod` file which substitutes the contents
|
`replace` statement to the `go.mod` file which substitutes the contents
|
||||||
of a directory holding a module for the readonly cached copy. You can of
|
of a directory holding a module for the readonly cached copy. You can of
|
||||||
course do this manually, but gohack aims to make this process pain-free.
|
course do this manually, but gohack aims to make this process pain-free.
|
||||||
|
|
||||||
## Install go-glone
|
|
||||||
|
|
||||||
go install go.wit.com/apps/go-clone@latest
|
|
||||||
|
|
||||||
## go-glone itself
|
|
||||||
|
|
||||||
This will make a work directory and download everything needs to compile
|
|
||||||
go-clone.
|
|
||||||
|
|
||||||
go-clone --work go.wit.com/apps/go-clone
|
|
||||||
|
|
Loading…
Reference in New Issue