Fixes command line files
This commit is contained in:
parent
e5d25559e9
commit
5ca7652125
3 changed files with 18 additions and 7 deletions
|
|
@ -1 +1 @@
|
||||||
Tools/build-native-libraries.cmd "$@"
|
Tools/build-native-libraries.cmd "$@"
|
||||||
|
|
|
||||||
|
|
@ -13,11 +13,20 @@ else
|
||||||
c=-c $2
|
c=-c $2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $2 ]]
|
if [[ $1 ]]
|
||||||
then
|
then
|
||||||
o=" -r $1-x64"
|
o="-r $1-x64"
|
||||||
|
else
|
||||||
|
if [[ $(uname) = "Darwin" ]]
|
||||||
|
then
|
||||||
|
o="-r osx-x64"
|
||||||
|
else
|
||||||
|
o="-r linux-x64"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
dotnet publish ${c}${o} --self-contained=false
|
|
||||||
|
echo dotnet publish ${c} ${o} --self-contained=false
|
||||||
|
dotnet publish ${c} ${o} --self-contained=false
|
||||||
exit $?
|
exit $?
|
||||||
|
|
||||||
:CMDSCRIPT
|
:CMDSCRIPT
|
||||||
|
|
@ -30,7 +39,9 @@ IF "%~2" == "" (
|
||||||
)
|
)
|
||||||
|
|
||||||
IF "%~1" != "" (
|
IF "%~1" != "" (
|
||||||
SET o = " -r %~1-x64"
|
SET o = "-r %~1-x64"
|
||||||
|
) ELSE (
|
||||||
|
SET o = "-r win-x64"
|
||||||
)
|
)
|
||||||
|
|
||||||
dotnet publish %c%%o% --self-contained=false
|
dotnet publish %c% %o% --self-contained=false
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Tools/publish.cmd "$@"
|
Tools/publish.cmd "$@"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue