Fixes publishing tools
This commit is contained in:
parent
8278694105
commit
b1fb16c983
2 changed files with 32 additions and 18 deletions
|
|
@ -3,14 +3,27 @@
|
|||
GOTO :CMDSCRIPT
|
||||
|
||||
::SHELLSCRIPT
|
||||
dotnet build -c Release Projects/Argon2/Argon2.csproj
|
||||
if [[ -z $2 ]]
|
||||
then
|
||||
c="-c Release"
|
||||
else
|
||||
c=-c $2
|
||||
fi
|
||||
|
||||
dotnet build ${c} Projects/Argon2/Argon2.csproj
|
||||
dotnet pack -o packages Projects/Argon2/Argon2.csproj
|
||||
dotnet build -c Release Projects/ZLib/ZLib.csproj
|
||||
dotnet build ${c} Projects/ZLib/ZLib.csproj
|
||||
dotnet pack -o packages Projects/ZLib/ZLib.csproj
|
||||
exit $?
|
||||
|
||||
:CMDSCRIPT
|
||||
ECHO dotnet build -c Release Projects\Argon2\Argon2.csproj
|
||||
IF "%~1" == "" (
|
||||
SET c=-c Release
|
||||
) ELSE (
|
||||
SET c=-c %~1
|
||||
)
|
||||
|
||||
ECHO dotnet build %c% Projects\Argon2\Argon2.csproj
|
||||
ECHO dotnet pack -o packages Projects\Argon2\Argon2.csproj
|
||||
ECHO dotnet build -c Release Projects\ZLib\ZLib.csproj
|
||||
ECHO dotnet build %c% Projects\ZLib\ZLib.csproj
|
||||
ECHO dotnet pack -o packages Projects\ZLib\ZLib.csproj
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue