Silence command echoing to focus output on errors
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-07-15 23:01:31 +02:00
parent 980f2f7684
commit a9d9d9de2f
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 6 additions and 6 deletions

View File

@ -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)