mirror of
https://github.com/jakobadam/RDSFactor.git
synced 2025-07-23 10:05:55 +02:00
Scrit to generate release
This commit is contained in:
parent
6ccac5a683
commit
5ff256d816
2 changed files with 16 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
set PATH=%PATH%;%windir%\Microsoft.NET\Framework\v4.0.30319
|
||||
|
||||
:: build the radius server
|
||||
msbuild server/RDSFactor.sln /property:Configuration=release
|
||||
:: msbuild server/RDSFactor.sln /property:Configuration=release
|
||||
|
||||
:: install it
|
||||
InstallUtil server\bin\Release\RDSFactor.exe
|
||||
|
|
15
release.bat
Normal file
15
release.bat
Normal file
|
@ -0,0 +1,15 @@
|
|||
@echo off
|
||||
:: Create release
|
||||
|
||||
rd /s /q release
|
||||
mkdir release
|
||||
|
||||
xcopy /E server\bin\Release release\server\bin\Release\
|
||||
xcopy /E web release\web\
|
||||
|
||||
:: Add relevant bat scripts
|
||||
xcopy *.bat release
|
||||
del release\release.bat
|
||||
|
||||
:: Yup. This a zip command on windows
|
||||
powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory('release', 'rdsfactor.zip'); }"
|
Loading…
Add table
Add a link
Reference in a new issue