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
|
all: run install build clean format check
|
||||||
|
|
||||||
run:
|
run:
|
||||||
go run -ldflags=$(LDFLAGS) $(ABRA)
|
@go run -ldflags=$(LDFLAGS) $(ABRA)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
go install -ldflags=$(LDFLAGS) $(ABRA)
|
@go install -ldflags=$(LDFLAGS) $(ABRA)
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build -ldflags=$(LDFLAGS) $(ABRA)
|
@go build -ldflags=$(LDFLAGS) $(ABRA)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm '$(GOPATH)/bin/abra'
|
@rm '$(GOPATH)/bin/abra'
|
||||||
|
|
||||||
format:
|
format:
|
||||||
gofmt -s -w .
|
@gofmt -s -w .
|
||||||
|
|
||||||
check:
|
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)
|
||||||
|
Reference in New Issue
Block a user