Use Compress-Archive on Windows

This commit is contained in:
Chen-I Lim 2021-01-06 16:25:39 -08:00
parent 6bb89d6c09
commit 023875236a

View file

@ -81,7 +81,8 @@ win-app: server-win webapp
mkdir -p win/temp/webapp mkdir -p win/temp/webapp
cp -R webapp/pack win/temp/webapp/pack cp -R webapp/pack win/temp/webapp/pack
mkdir -p win/dist mkdir -p win/dist
cd win/temp; tar -acf ../dist/tasks-win.zip . # cd win/temp; tar -acf ../dist/tasks-win.zip .
cd win/temp; Compress-Archive ../dist/tasks-win.zip .
linux-app: server-linux webapp linux-app: server-linux webapp
rm -rf linux/temp rm -rf linux/temp