Remove not-quite-useful Makefile in favor of plain go build
This commit is contained in:
parent
9f572eb5c6
commit
d5fda51722
2 changed files with 1 additions and 18 deletions
16
Makefile
16
Makefile
|
@ -1,16 +0,0 @@
|
||||||
NAME=matrix-alertmanager-receiver
|
|
||||||
PREFIX?=/usr/local
|
|
||||||
|
|
||||||
all: build
|
|
||||||
|
|
||||||
getDeps:
|
|
||||||
go get -v
|
|
||||||
|
|
||||||
build:
|
|
||||||
go build
|
|
||||||
|
|
||||||
install: build
|
|
||||||
install -m 0755 $(NAME) $(PREFIX)/bin/$(NAME)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm $(NAME)
|
|
|
@ -13,8 +13,7 @@ Make sure you have [Go](https://golang.org/) installed (`golang-bin` package on
|
||||||
Fedora).
|
Fedora).
|
||||||
|
|
||||||
```
|
```
|
||||||
make getDeps
|
go build -v
|
||||||
make build
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
Loading…
Reference in a new issue