From 705de11bef076bf66304a9e7b87d5806347c17e5 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Fri, 17 Jul 2020 12:53:48 -0600 Subject: readme: Minor tweaks --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8d7ab4c..a84b41d 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ Caddy on Sourcegraph

- Download · + Releases · Documentation · - Community + Get Help

@@ -76,7 +76,7 @@ _**Note:** These steps [will not embed proper version information](https://githu ### With version information and/or plugins -Using [our builder tool](https://github.com/caddyserver/xcaddy)... +Using [our builder tool, `xcaddy`](https://github.com/caddyserver/xcaddy)... ``` $ xcaddy build @@ -88,8 +88,8 @@ $ xcaddy build 2. Change into it: `cd caddy` 3. Copy [Caddy's main.go](https://github.com/caddyserver/caddy/blob/master/cmd/caddy/main.go) into the empty folder. Add imports for any custom plugins you want to add. 4. Initialize a Go module: `go mod init caddy` -5. (Optional) Pin Caddy version: `go get github.com/caddyserver/caddy/v2@TAG` replacing `TAG` with a git tag or commit. -6. (Optional) Add plugins by adding their import: `_ "IMPORT_PATH"` +5. (Optional) Pin Caddy version: `go get github.com/caddyserver/caddy/v2@version` replacing `version` with a git tag or commit. +6. (Optional) Add plugins by adding their import: `_ "import/path/here"` 7. Compile: `go build` -- cgit v1.2.3