|
From: <fab...@us...> - 2011-03-12 21:49:48
|
Revision: 5458
http://nhibernate.svn.sourceforge.net/nhibernate/?rev=5458&view=rev
Author: fabiomaulo
Date: 2011-03-12 21:49:42 +0000 (Sat, 12 Mar 2011)
Log Message:
-----------
nuget targets: added NHibernate.ByteCode.LinFu
Modified Paths:
--------------
trunk/nhibernate/default.build
trunk/nhibernate/src/NHibernate.ByteCode.LinFu/ByteCode.build
trunk/nhibernate/src/NHibernate.ByteCode.LinFu/NHibernate.ByteCode.LinFu.csproj
Added Paths:
-----------
trunk/nhibernate/src/NHibernate.ByteCode.LinFu/NHibernate.LinFu.nuspec.template
Modified: trunk/nhibernate/default.build
===================================================================
--- trunk/nhibernate/default.build 2011-03-12 20:34:46 UTC (rev 5457)
+++ trunk/nhibernate/default.build 2011-03-12 21:49:42 UTC (rev 5458)
@@ -382,6 +382,7 @@
<include name="Iesi.Collections/Iesi.Collections.build" />
<include name="NHibernate/NHibernate.build" />
<include name="NHibernate.ByteCode.Castle/ByteCode.build" />
+ <include name="NHibernate.ByteCode.LinFu/ByteCode.build" />
</fileset>
<target name="nuspec" depends="init" description="Create nuspec files">
Modified: trunk/nhibernate/src/NHibernate.ByteCode.LinFu/ByteCode.build
===================================================================
--- trunk/nhibernate/src/NHibernate.ByteCode.LinFu/ByteCode.build 2011-03-12 20:34:46 UTC (rev 5457)
+++ trunk/nhibernate/src/NHibernate.ByteCode.LinFu/ByteCode.build 2011-03-12 21:49:42 UTC (rev 5458)
@@ -6,7 +6,8 @@
xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd"
>
- <property name="root.dir" value="../.." />
+ <property name="nuspec.destination.filename" value="NHibernate.LinFu.nuspec" />
+ <property name="root.dir" value="../.." />
<include buildfile="${root.dir}/build-common/common-project.xml" />
<target name="init" depends="common.init">
@@ -31,5 +32,23 @@
<target name="generate-assemblyinfo" depends="init common.generate-assemblyinfo" />
<target name="build" depends="init generate-assemblyinfo common.compile-dll" description="Build LinFu ByteCode" />
+
+ <target name="nuspec" depends="init" description="Create nuspec for NHibernate.ByteCode.LinFu">
+ <property name="nuspec.destination.file" value="${build.dir}/nuspec.destination.filename" />
+ <copy file="NHibernate.LinFu.nuspec.template" tofile="${nuspec.destination.file}"/>
+ <xmlpoke file="${nuspec.destination.file}"
+ xpath="/package/metadata/dependencies/dependency[@id = 'NHibernate']/@version"
+ value="[${project.version.numeric}]" />
+ <xmlpoke file="${nuspec.destination.file}"
+ xpath="/package/metadata/version"
+ value="${project.version.numeric}" />
+ </target>
+ <target name="nuget" depends="init nuspec">
+ <exec basedir="${tools.dir}" workingdir="${build.dir}" program="NuGet.exe">
+ <arg value="pack" />
+ <arg value="${nuspec.destination.filename}" />
+ <arg line="-o ${nugetdeploy.subdir}" />
+ </exec>
+ </target>
</project>
Modified: trunk/nhibernate/src/NHibernate.ByteCode.LinFu/NHibernate.ByteCode.LinFu.csproj
===================================================================
--- trunk/nhibernate/src/NHibernate.ByteCode.LinFu/NHibernate.ByteCode.LinFu.csproj 2011-03-12 20:34:46 UTC (rev 5457)
+++ trunk/nhibernate/src/NHibernate.ByteCode.LinFu/NHibernate.ByteCode.LinFu.csproj 2011-03-12 21:49:42 UTC (rev 5458)
@@ -78,6 +78,7 @@
</ItemGroup>
<ItemGroup>
<None Include="ByteCode.build" />
+ <None Include="NHibernate.LinFu.nuspec.template" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
Added: trunk/nhibernate/src/NHibernate.ByteCode.LinFu/NHibernate.LinFu.nuspec.template
===================================================================
--- trunk/nhibernate/src/NHibernate.ByteCode.LinFu/NHibernate.LinFu.nuspec.template (rev 0)
+++ trunk/nhibernate/src/NHibernate.ByteCode.LinFu/NHibernate.LinFu.nuspec.template 2011-03-12 21:49:42 UTC (rev 5458)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<package>
+ <metadata>
+ <id>NHibernate.Castle</id>
+ <version>x.y.z</version>
+ <authors>NHibernate community, Hibernate community</authors>
+ <summary>NHibernate with lazy-loading enabled.</summary>
+ <description>
+ NHibernate is a mature, open source object-relational mapper for the .NET framework.
+ This package enables the ability to use lazy-loading with LinFu dynamic-proxy.
+ </description>
+ <language>en-US</language>
+ <tags>ORM, DataBase, DAL, Object Relational Mapping</tags>
+ <dependencies>
+ <dependency id="NHibernate" version="x.y.z" />
+ </dependencies>
+ </metadata>
+ <files>
+ <file src="bin\net-3.5\NHibernate.ByteCode.LinFu.dll" target="lib\Net35" />
+ <file src="bin\net-3.5\NHibernate.ByteCode.LinFu.xml" target="lib\Net35" />
+ <file src="bin\net-3.5\LinFu*.*" target="lib\Net35" />
+ </files>
+</package>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|