Browse Source

attempt to support nuget package building on linux (not yet)

Robin Herbots 12 years ago
parent
commit
894e992631
3 changed files with 6 additions and 0 deletions
  1. 6 0
      build.xml
  2. BIN
      tools/Microsoft.Build.dll
  3. BIN
      tools/NuGet.exe

+ 6 - 0
build.xml

@@ -81,6 +81,12 @@
 			 <arg value="-OutputDirectory" />
 			 <arg value="..\${distdir}" />
         </exec>
+        <exec executable="EnableNuGetPackageRestore=true mono --runtime=v4.0.30319 ${NugetExe}" failonerror="true" dir="tools" vmlauncher="false" osfamily="unix" >
+			 <arg value="pack"/>
+			 <arg value="../nuget/${nuspec}" />
+			 <arg value="-OutputDirectory" />
+			 <arg value="../${distdir}" />
+        </exec>
     </target>
 	
     <target name="build" depends="jquery.inputmask, jquery.inputmask.min, minfiles, jquery.inputmask.nuget, resetVersions"/>

BIN
tools/Microsoft.Build.dll


BIN
tools/NuGet.exe