-
-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c053cde
commit fa59611
Showing
7 changed files
with
63 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,27 @@ | ||
cd ./NSmartProxy.ClientRouter | ||
rem #run before install wrap tool. | ||
rem #eg.: dotnet tool install -g dotnet-warp | ||
dotnet-warp -l aggressive --verbose | ||
rem NSP v0.3 | ||
set Ver=v0.3 | ||
set BuildPath=%~dp0/../build | ||
|
||
set nsp_server_path=%BuildPath%/nspclient_%Ver% | ||
set nsp_client_path=%BuildPath%/nspserver_%Ver% | ||
set nsp_client_winfform_path=%BuildPath%/nspclient_winform_%Ver% | ||
|
||
rem del %~dp0/../build/*.* | ||
rem NSPClient | ||
dotnet publish .\NSmartProxyClient\NSmartProxyClient.csproj -o %nsp_server_path% | ||
|
||
rem NSPServer | ||
dotnet publish .\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj -o %nsp_client_path% | ||
|
||
rem NSPWinform | ||
MSBuild .\NSmartProxyWinform\NSmartProxyWinform.csproj /t:build /p:OutDir=%nsp_client_winfform_path% | ||
powershell del %nsp_client_winfform_path%/*.pdb | ||
powershell del %nsp_client_winfform_path%/*.xml | ||
|
||
rem ilmerge | ||
rem ruined :< | ||
|
||
rem compress | ||
powershell Compress-Archive -Path '%nsp_server_path%/*.*' -DestinationPath '%BuildPath%/nspclient_%Ver%.zip' -Force | ||
powershell Compress-Archive -Path '%nsp_client_path%/*.*' -DestinationPath '%BuildPath%/nspserver_%Ver%.zip' -Force | ||
powershell Compress-Archive -Path '%nsp_client_winfform_path%/*.*' -DestinationPath '%BuildPath%/nspclient_winform_%Ver%.zip' -Force |
Binary file not shown.