3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-15 00:19:29 +01:00

Merge pull request #2047 from slingamn/make

change default make target to `build`
This commit is contained in:
Shivaram Lingamneni 2023-02-11 18:49:59 -08:00 committed by GitHub
commit ae04fb3d0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ export CGO_ENABLED ?= 0
capdef_file = ./irc/caps/defs.go
all: install
all: build
install:
go install -v -ldflags "-X main.commit=$(GIT_COMMIT) -X main.version=$(GIT_TAG)"
@ -29,13 +29,13 @@ test:
go vet ./...
./.check-gofmt.sh
smoke:
smoke: install
ergo mkcerts --conf ./default.yaml || true
ergo run --conf ./default.yaml --smoke
gofmt:
./.check-gofmt.sh --fix
irctest:
irctest: install
git submodule update --init
cd irctest && make ergo

View File

@ -84,7 +84,7 @@ For information on contributing to Ergo, see [DEVELOPING.md](https://github.com/
#### Building
You'll need an [up-to-date distribution of the Go language for your OS and architecture](https://golang.org/dl/). Once that's installed (check the output of `go version`), just check out your desired branch or tag and run `make build`. This will produce an executable binary named `ergo` in the base directory of the project. (Ergo vendors all its dependencies, so you will not need to fetch any dependencies remotely.)
You'll need an [up-to-date distribution of the Go language for your OS and architecture](https://golang.org/dl/). Once that's installed (check the output of `go version`), just check out your desired branch or tag and run `make`. This will produce an executable binary named `ergo` in the base directory of the project. (Ergo vendors all its dependencies, so you will not need to fetch any dependencies remotely.)
## Configuration

@ -1 +1 @@
Subproject commit b7e8a7a5f557635064893f597a639d6206d53077
Subproject commit 6815dd238b8afd8ad73712d50d3e93cf997c26db