Run lint after build/test
This commit is contained in:
parent
d1182dc54f
commit
3fdfc9c7bc
6
Makefile
6
Makefile
|
@ -5,13 +5,13 @@ PROJECT_PKGS=$(shell go list ./cmd/... ./pkg/... | grep -v /vendor/)
|
||||||
TESTPARALLELISM=10
|
TESTPARALLELISM=10
|
||||||
|
|
||||||
.PHONY: default
|
.PHONY: default
|
||||||
default: banner lint_quiet vet test install
|
default: banner vet test install lint_quiet
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: banner_all lint_quiet vet test install lumijs lumirtpkg lumijspkg lumipkg awspkg
|
all: banner_all vet test install lint_quiet lumijs lumirtpkg lumijspkg lumipkg awspkg
|
||||||
|
|
||||||
.PHONY: nightly
|
.PHONY: nightly
|
||||||
nightly: banner_all lint_quiet vet test install lumijs lumirtpkg lumijspkg lumipkg awspkg examples
|
nightly: banner_all vet test install lint_quiet lumijs lumirtpkg lumijspkg lumipkg awspkg examples
|
||||||
|
|
||||||
.PHONY: banner
|
.PHONY: banner
|
||||||
banner:
|
banner:
|
||||||
|
|
|
@ -5,7 +5,7 @@ THISLIB = ${LUMILIB}/aws
|
||||||
TESTPARALLELISM = 10
|
TESTPARALLELISM = 10
|
||||||
|
|
||||||
.PHONY: default
|
.PHONY: default
|
||||||
default: banner lint_quiet vet build test install
|
default: banner vet build test install lint_quiet
|
||||||
|
|
||||||
.PHONY: banner
|
.PHONY: banner
|
||||||
banner:
|
banner:
|
||||||
|
@ -38,7 +38,7 @@ build:
|
||||||
cd provider/ && go build -i -o ../bin/lumi-resource-aws # compile the resource provider
|
cd provider/ && go build -i -o ../bin/lumi-resource-aws # compile the resource provider
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install: build
|
||||||
@echo "\033[0;32mINSTALL:\033[0m [${LUMILIB}]"
|
@echo "\033[0;32mINSTALL:\033[0m [${LUMILIB}]"
|
||||||
cd pack/ && yarn link # ensure NPM references resolve locally.
|
cd pack/ && yarn link # ensure NPM references resolve locally.
|
||||||
mkdir -p ${LUMILIB} # ensure the machine-wide library dir exists.
|
mkdir -p ${LUMILIB} # ensure the machine-wide library dir exists.
|
||||||
|
|
Loading…
Reference in a new issue