From 7763fcde1929e760481fc55c596245343e8f942a Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Mon, 7 Oct 2019 08:32:09 -0700 Subject: [PATCH] docs: Update CLI installation instructions. Fixes #243. The default behaviour for `go get` has changed slightly and we now need to either provide a module context or disable modules for installation to work correctly. Also remove a now-obsolete reference to the source{d} engine CLI. Signed-off-by: M. J. Fromberger --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 016a89d..01f6c2d 100644 --- a/README.md +++ b/README.md @@ -24,14 +24,9 @@ The recommended way to install the `enry` command-line tool is to either [download a release](https://github.com/src-d/enry/releases) or run: ``` -(cd /tmp; go get github.com/src-d/enry/v2/cmd/enry) +(cd "$(mktemp -d)"; go mod init enry; go get github.com/src-d/enry/v2/cmd/enry) ``` -This project is now part of [source{d} Engine](https://sourced.tech/engine), -which provides the simplest way to get started with a single command. -Visit [sourced.tech/engine](https://sourced.tech/engine) for more information. - - Examples --------