Browse Source

Added all task as first task to makefile

pull/9/head
Thomas Boerger 9 years ago
parent
commit
af5b4c752d
  1. 4
      Makefile

4
Makefile

@ -1,4 +1,4 @@
.PHONY: clean deps fmt vet test docker .PHONY: all clean deps fmt vet test docker
EXECUTABLE ?= drone-terraform EXECUTABLE ?= drone-terraform
IMAGE ?= plugins/$(EXECUTABLE) IMAGE ?= plugins/$(EXECUTABLE)
@ -7,6 +7,8 @@ CI_BUILD_NUMBER ?= 0
LDFLAGS = -X "main.buildDate=$(shell date -u '+%Y-%m-%d %H:%M:%S %Z')" LDFLAGS = -X "main.buildDate=$(shell date -u '+%Y-%m-%d %H:%M:%S %Z')"
PACKAGES = $(shell go list ./... | grep -v /vendor/) PACKAGES = $(shell go list ./... | grep -v /vendor/)
all: deps build test
clean: clean:
go clean -i ./... go clean -i ./...

Loading…
Cancel
Save