forked from coop-cloud/abra
Silence command echoing to focus output on errors
This commit is contained in:
parent
980f2f7684
commit
a9d9d9de2f
12
Makefile
12
Makefile
@ -7,19 +7,19 @@ VERSION := $(shell cat ./version)
|
||||
all: run install build clean format check
|
||||
|
||||
run:
|
||||
go run -ldflags=$(LDFLAGS) $(ABRA)
|
||||
@go run -ldflags=$(LDFLAGS) $(ABRA)
|
||||
|
||||
install:
|
||||
go install -ldflags=$(LDFLAGS) $(ABRA)
|
||||
@go install -ldflags=$(LDFLAGS) $(ABRA)
|
||||
|
||||
build:
|
||||
go build -ldflags=$(LDFLAGS) $(ABRA)
|
||||
@go build -ldflags=$(LDFLAGS) $(ABRA)
|
||||
|
||||
clean:
|
||||
rm '$(GOPATH)/bin/abra'
|
||||
@rm '$(GOPATH)/bin/abra'
|
||||
|
||||
format:
|
||||
gofmt -s -w .
|
||||
@gofmt -s -w .
|
||||
|
||||
check:
|
||||
test -z $$(gofmt -l .) || (echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1)
|
||||
@test -z $$(gofmt -l .) || (echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1)
|
||||
|
Loading…
Reference in New Issue
Block a user