Merge pull request #4793 from hashicorp/f-coretest-target
core: Add `make core-test` target
This commit is contained in:
commit
78825e7b6b
4
Makefile
4
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
|
||||
|
|
Loading…
Reference in New Issue