Skip to content

Commit

Permalink
Use copy on Windows instead of cp
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Selzo <cselzo@vmware.com>
  • Loading branch information
aramprice and selzoc committed Sep 22, 2023
1 parent 382f1f9 commit d97680b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d97680b

Please sign in to comment.