update golang.mk

This commit is contained in:
Nate Brennand 2018-10-11 12:39:00 -07:00
parent 42fba675bb
commit dd22f519be

View file

@ -1,7 +1,7 @@
# This is the default Clever Golang Makefile. # This is the default Clever Golang Makefile.
# It is stored in the dev-handbook repo, github.com/Clever/dev-handbook # It is stored in the dev-handbook repo, github.com/Clever/dev-handbook
# Please do not alter this file directly. # Please do not alter this file directly.
GOLANG_MK_VERSION := 0.3.8 GOLANG_MK_VERSION := 0.4.0
SHELL := /bin/bash SHELL := /bin/bash
SYSTEM := $(shell uname -a | cut -d" " -f1 | tr '[:upper:]' '[:lower:]') SYSTEM := $(shell uname -a | cut -d" " -f1 | tr '[:upper:]' '[:lower:]')
@ -82,7 +82,7 @@ endif
# Golint is a tool for linting Golang code for common errors. # Golint is a tool for linting Golang code for common errors.
GOLINT := $(GOPATH)/bin/golint GOLINT := $(GOPATH)/bin/golint
$(GOLINT): $(GOLINT):
go get github.com/golang/lint/golint go get golang.org/x/lint/golint
# golang-fmt-deps requires the FGT tool for checking output # golang-fmt-deps requires the FGT tool for checking output
golang-fmt-deps: $(FGT) golang-fmt-deps: $(FGT)