|
|
@ -67,13 +67,6 @@ CleanFolder()
|
|
|
|
find $path -depth -empty -type d -exec rm -r "{}" \;
|
|
|
|
find $path -depth -empty -type d -exec rm -r "{}" \;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
AddJsonNet()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
rm $outputFolder/Newtonsoft.Json.*
|
|
|
|
|
|
|
|
cp $sourceFolder/packages/Newtonsoft.Json.*/lib/net45/*.dll $outputFolder
|
|
|
|
|
|
|
|
cp $sourceFolder/packages/Newtonsoft.Json.*/lib/net45/*.dll $updateFolder
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildWithMSBuild()
|
|
|
|
BuildWithMSBuild()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
installationPath=`$vswhere -latest -products \* -requires Microsoft.Component.MSBuild -property installationPath`
|
|
|
|
installationPath=`$vswhere -latest -products \* -requires Microsoft.Component.MSBuild -property installationPath`
|
|
|
@ -121,8 +114,6 @@ Build()
|
|
|
|
|
|
|
|
|
|
|
|
CleanFolder $outputFolder false
|
|
|
|
CleanFolder $outputFolder false
|
|
|
|
|
|
|
|
|
|
|
|
AddJsonNet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "Removing Mono.Posix.dll"
|
|
|
|
echo "Removing Mono.Posix.dll"
|
|
|
|
rm $outputFolder/Mono.Posix.dll
|
|
|
|
rm $outputFolder/Mono.Posix.dll
|
|
|
|
|
|
|
|
|
|
|
|