mirror of https://github.com/statping/statping
makefile updates
parent
ce35388ee5
commit
50fee374d9
2
Makefile
2
Makefile
|
@ -20,7 +20,7 @@ test: clean compile
|
||||||
go test -v -p=1 -ldflags="-X main.VERSION=0.99.99" -coverprofile=coverage.out ./...
|
go test -v -p=1 -ldflags="-X main.VERSION=0.99.99" -coverprofile=coverage.out ./...
|
||||||
|
|
||||||
build: clean
|
build: clean
|
||||||
go build -a -ldflags "-s -w -extldflags -static -X main.VERSION=${VERSION}" -o statping --tags "netgo" ./cmd
|
go build -a -ldflags "-s -w -extldflags -static -X main.VERSION=${VERSION}" -o statping --tags "netgo linux" ./cmd
|
||||||
|
|
||||||
up:
|
up:
|
||||||
docker-compose -f docker-compose.yml -f dev/docker-compose.full.yml up -d --remove-orphans
|
docker-compose -f docker-compose.yml -f dev/docker-compose.full.yml up -d --remove-orphans
|
||||||
|
|
Loading…
Reference in New Issue