diff --git a/.gitignore b/.gitignore index 37ba3c1..b9641dc 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ docs-partials/ docs.zip vendor/ version.go +.install/ diff --git a/Makefile b/Makefile index ebb3b85..faf134d 100644 --- a/Makefile +++ b/Makefile @@ -30,8 +30,8 @@ check: plugin-check acceptance-test acceptance-test: export PKR_VAR_appledb_test_path = $(PROJECT_DIR)/datasource/test-fixtures/ acceptance-test: export PACKER_ACC = 1 -acceptance-test: export PACKER_PLUGIN_PATH = $(PROJECT_DIR) -acceptance-test: build +acceptance-test: export PACKER_PLUGIN_PATH = $(PROJECT_DIR)/.install +acceptance-test: install @go test -count 1 -v $(shell find . | grep _test.go) -timeout=120m plugin-check: build