include dependent packages, symbols and config files; comment out nuget package creation for Linux (TravisCI)

This commit is contained in:
danielli90 2015-12-22 00:02:23 -08:00
Родитель 72f6738079
Коммит 4a218b3cf4
2 изменённых файлов: 20 добавлений и 11 удалений

Просмотреть файл

@ -15,10 +15,15 @@
<dependencies>
<dependency id="Razorvine.Pyrolite" version="4.10.0.0" />
<dependency id="Razorvine.Serpent" version="1.12.0.0" />
<dependency id="log4net" version="2.0.3" />
<dependency id="Newtonsoft.Json" version="7.0.1" />
</dependencies>
</metadata>
<files>
<file src="Adapter/Microsoft.Spark.CSharp/bin/Release/Microsoft.Spark.CSharp.Adapter.dll" target="lib/net45" />
<file src="Worker/Microsoft.Spark.CSharp/bin/Release/CSharpWorker.exe" target="lib/net45" />
<file src="Adapter\Microsoft.Spark.CSharp\bin\Release\Microsoft.Spark.CSharp.Adapter.dll" target="lib\net45" />
<file src="Adapter\Microsoft.Spark.CSharp\bin\Release\Microsoft.Spark.CSharp.Adapter.pdb" target="lib\net45" />
<file src="Worker\Microsoft.Spark.CSharp\bin\Release\CSharpWorker.exe" target="lib\net45" />
<file src="Worker\Microsoft.Spark.CSharp\bin\Release\CSharpWorker.pdb" target="lib\net45" />
<file src="Worker\Microsoft.Spark.CSharp\bin\Release\CSharpWorker.exe.config" target="lib\net45" />
</files>
</package>

Просмотреть файл

@ -50,14 +50,18 @@ xbuild /p:Configuration=$CONFIGURATION $XBUILDOPT $PROJ
export RC=$? && [ $RC -ne 0 ] && error_exit
echo "BUILD ok for $CONFIGURATION $PROJ"
if [ -f "$PROJ_NAME.nuspec" ];
then
echo "===== Build NuGet package for $PROJ ====="
export STEP=NuGet-Pack
nuget pack "$PROJ_NAME.nuspec"
export RC=$? && [ $RC -ne 0 ] && error_exit
echo "NuGet package ok for $PROJ"
fi
#
# The plan is to build SparkCLR nuget package in AppVeyor (Windows).
# Comment out this step for TravisCI (Linux) for now.
#
# if [ -f "$PROJ_NAME.nuspec" ];
# then
# echo "===== Build NuGet package for $PROJ ====="
# export STEP=NuGet-Pack
#
# nuget pack "$PROJ_NAME.nuspec"
# export RC=$? && [ $RC -ne 0 ] && error_exit
# echo "NuGet package ok for $PROJ"
# fi
echo "===== Build succeeded for $PROJ ====="