From fc667b676391d42b6c6fa1982ee4fd499c9f2d95 Mon Sep 17 00:00:00 2001 From: James Nugent Date: Thu, 21 Jan 2016 18:00:47 -0500 Subject: [PATCH] core: Add `make core-test` target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index b114c8cdc..dc5f3cc12 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,10 @@ quickdev: generate core-dev: fmtcheck generate go install github.com/hashicorp/terraform +# Shorthand for quickly testing the core of Terraform (i.e. "not providers") +core-test: generate + @echo "Testing core packages..." && go test $(shell go list ./... | grep -v builtin) + # Shorthand for building and installing just one plugin for local testing. # Run as (for example): make plugin-dev PLUGIN=provider-aws plugin-dev: fmtcheck generate