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

+ 1
- 1
README.md View File

84
 
84
 
85
 #### Building
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
 ## Configuration
89
 ## Configuration
90
 
90
 

Loading…
Cancel
Save