[mapguide-commits] r7090 - branches/2.4/MgDev

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sun Oct 7 05:42:02 PDT 2012


Author: jng
Date: 2012-10-07 05:42:02 -0700 (Sun, 07 Oct 2012)
New Revision: 7090

Modified:
   branches/2.4/MgDev/nuget_pack.bat
Log:
parameterize nuget_pack.bat

Modified: branches/2.4/MgDev/nuget_pack.bat
===================================================================
--- branches/2.4/MgDev/nuget_pack.bat	2012-10-07 12:29:45 UTC (rev 7089)
+++ branches/2.4/MgDev/nuget_pack.bat	2012-10-07 12:42:02 UTC (rev 7090)
@@ -1,11 +1,9 @@
 @echo off
+SET MG_CPU=x86
+IF NOT "%1" == "" SET MG_CPU=%1
 pushd nuget
-nuget pack mapguide-api-base-x86.nuspec -BasePath x86\api-base
-nuget pack mg-desktop-net40-x86.nuspec -BasePath x86\api-desktop
-nuget pack mg-desktop-viewer-net40-x86.nuspec -BasePath x86\api-desktop-viewer
-nuget pack mapguide-api-web-x86.nuspec -BasePath x86\api-web
-nuget pack mapguide-api-base-x64.nuspec -BasePath x64\api-base
-nuget pack mg-desktop-net40-x64.nuspec -BasePath x64\api-desktop
-nuget pack mg-desktop-viewer-net40-x64.nuspec -BasePath x64\api-desktop-viewer
-nuget pack mapguide-api-web-x64.nuspec -BasePath x64\api-web
+nuget pack mapguide-api-base-%MG_CPU%.nuspec -BasePath %MG_CPU%\api-base
+nuget pack mg-desktop-net40-%MG_CPU%.nuspec -BasePath %MG_CPU%\api-desktop
+nuget pack mg-desktop-viewer-net40-%MG_CPU%.nuspec -BasePath %MG_CPU%\api-desktop-viewer
+nuget pack mapguide-api-web-%MG_CPU%.nuspec -BasePath %MG_CPU%\api-web
 popd
\ No newline at end of file



More information about the mapguide-commits mailing list