mirror of
https://github.com/FastTunnel/FastTunnel.git
synced 2025-02-08 02:39:29 +08:00
自动压缩
This commit is contained in:
parent
e69df9665e
commit
458b489fb2
|
@ -1,9 +1,11 @@
|
|||
@echo off
|
||||
|
||||
for /d %%p in (FastTunnel.Client,FastTunnel.Server) do (
|
||||
CD ./%%p & for %%I in (win-x64,osx-x64,linux-x64) do (
|
||||
dotnet publish -o=../publish/%%p.%%I -c=release -f=netcoreapp3.1 -r=%%I --self-contained
|
||||
CD ./%%p
|
||||
for %%I in (win-x64,osx-x64,linux-x64) do (
|
||||
dotnet publish -o=../publish/%%p.%%I -c=release -f=netcoreapp3.1 -r=%%I --self-contained & 7z a -tzip ../publish/%%p.%%I.zip ../publish/%%p.%%I
|
||||
)
|
||||
cd ../
|
||||
)
|
||||
|
||||
pause
|
Loading…
Reference in New Issue
Block a user