mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-22 03:01:10 +08:00
parent
657780bcdf
commit
605787f671
@ -77,6 +77,7 @@ Caddy binaries have no dependencies and are available for every platform. Get Ca
|
||||
|
||||
To build from source you need **[Git](https://git-scm.com/downloads)** and **[Go](https://golang.org/doc/install)** (1.12 or newer). Follow these instruction for fast building:
|
||||
|
||||
- Set the transitional environment variable `GO111MODULE` to `on`
|
||||
- Get the source with `go get github.com/mholt/caddy/caddy` and then run `go get github.com/caddyserver/builds`
|
||||
- Now `cd $GOPATH/src/github.com/mholt/caddy/caddy` and run `go run build.go`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user