mirror of
https://github.com/mpolden/echoip.git
synced 2025-07-16 22:13:33 +02:00
Rewrite
This commit is contained in:
18
Makefile
18
Makefile
@ -1,19 +1,15 @@
|
||||
NAME = ifconfig
|
||||
NAME=ifconfigd
|
||||
|
||||
all: deps test build
|
||||
|
||||
fmt:
|
||||
gofmt -w=true *.go
|
||||
all: deps test install
|
||||
|
||||
deps:
|
||||
go get -d -v
|
||||
|
||||
build:
|
||||
@mkdir -p bin
|
||||
go build -o bin/$(NAME)
|
||||
fmt:
|
||||
go fmt ./...
|
||||
|
||||
test:
|
||||
go test
|
||||
go test ./...
|
||||
|
||||
docker-image:
|
||||
docker build -t martinp/ifconfig .
|
||||
install:
|
||||
go install
|
||||
|
Reference in New Issue
Block a user