Browse Source

change default make target to `build`

Fixes #2046
tags/v2.12.0-rc1
Shivaram Lingamneni 1 year ago
parent
commit
697f34995b
2 changed files with 4 additions and 4 deletions
  1. 3
    3
      Makefile
  2. 1
    1
      README.md

+ 3
- 3
Makefile View File

@@ -9,7 +9,7 @@ export CGO_ENABLED ?= 0
9 9
 
10 10
 capdef_file = ./irc/caps/defs.go
11 11
 
12
-all: install
12
+all: build
13 13
 
14 14
 install:
15 15
 	go install -v -ldflags "-X main.commit=$(GIT_COMMIT) -X main.version=$(GIT_TAG)"
@@ -29,13 +29,13 @@ test:
29 29
 	go vet ./...
30 30
 	./.check-gofmt.sh
31 31
 
32
-smoke:
32
+smoke: install
33 33
 	ergo mkcerts --conf ./default.yaml || true
34 34
 	ergo run --conf ./default.yaml --smoke
35 35
 
36 36
 gofmt:
37 37
 	./.check-gofmt.sh --fix
38 38
 
39
-irctest:
39
+irctest: install
40 40
 	git submodule update --init
41 41
 	cd irctest && make ergo

+ 1
- 1
README.md View File

@@ -84,7 +84,7 @@ For information on contributing to Ergo, see [DEVELOPING.md](https://github.com/
84 84
 
85 85
 #### Building
86 86
 
87
-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.)
87
+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.)
88 88
 
89 89
 ## Configuration
90 90
 

Loading…
Cancel
Save