mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-04-19 11:46:50 +00:00
build: update Makefile to use powershell subcommand on windows
This commit is contained in:
parent
f03d134569
commit
d8b49b416b
3
Makefile
3
Makefile
@ -15,7 +15,8 @@ win-package: win-binary-x86_64
|
||||
cp -r examples osc-variant/
|
||||
cp README.md osc-variant/
|
||||
cp LICENSE.txt osc-variant/
|
||||
zip osc-variant-$(TAG)_win64.zip osc-variant/* osc-variant/examples/*
|
||||
# first try (linux) zip command, then powershell sub command to create ZIP file
|
||||
zip osc-variant-$(TAG)_win64.zip osc-variant/* osc-variant/examples/* || powershell Compress-ARCHIVE osc-variant osc-variant-$(TAG)_win64.zip
|
||||
rm -rf osc-variant || true
|
||||
|
||||
.PHONY: linux-package
|
||||
|
Loading…
x
Reference in New Issue
Block a user