From d97680ba451cd64b7ffd950862e1dc6dc0d643d8 Mon Sep 17 00:00:00 2001 From: Aram Price Date: Fri, 22 Sep 2023 15:00:44 -0700 Subject: [PATCH] Use `copy` on Windows instead of `cp` Co-authored-by: Chris Selzo --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 3ed94f07..fcf08243 100644 --- a/Makefile +++ b/Makefile @@ -49,8 +49,13 @@ integration/construct : generate-fake-stemcell-automation integration-badger : generate-fake-stemcell-automation go run github.com/onsi/ginkgo/v2/ginkgo -r -v --randomize-all --until-it-fails --timeout 3h integration +ifeq ($(OS),Windows_NT) +generate-fake-stemcell-automation: $(FAKE_STEMCELL_AUTOMATION_PATH) + copy $(FAKE_STEMCELL_AUTOMATION_PATH) assets/ +else generate-fake-stemcell-automation: $(FAKE_STEMCELL_AUTOMATION_PATH) $(CP) $(FAKE_STEMCELL_AUTOMATION_PATH) assets/ +endif generate: assets/StemcellAutomation.zip