core: Add `make core-test` target

This commit is contained in:
James Nugent 2016-01-21 18:00:47 -05:00
parent 0f3b977c10
commit fc667b6763
1 changed files with 4 additions and 0 deletions

View File

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