Skip to content

Commit a454727

Browse files
committed
Normalize spaces and tabs in build files.
1 parent 0e87f88 commit a454727

File tree

2 files changed

+75
-75
lines changed

2 files changed

+75
-75
lines changed

default.build

Lines changed: 69 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -198,19 +198,19 @@
198198
<!-- Tests -->
199199
<copy file="${bin.dir}/TestEmbeddedConfig.cfg.xml" todir="${bin-pack.tests}"/>
200200
<copy file="${bin.dir}/ABC.hbm.xml" todir="${bin-pack.tests}"/>
201-
<copy todir="${bin-pack.tests}/DbScripts">
202-
<fileset basedir="${root.dir}/src/NHibernate.Test/DbScripts">
203-
<include name="*.sql" />
204-
</fileset>
205-
</copy>
206-
<copy todir="${bin-pack.tests}">
201+
<copy todir="${bin-pack.tests}/DbScripts">
202+
<fileset basedir="${root.dir}/src/NHibernate.Test/DbScripts">
203+
<include name="*.sql" />
204+
</fileset>
205+
</copy>
206+
<copy todir="${bin-pack.tests}">
207207
<fileset basedir="${bin.dir}">
208208
<include name="nunit*" />
209-
<include name="SharpTestsEx*" />
210-
<include name="NHibernate.Domain*" />
209+
<include name="SharpTestsEx*" />
210+
<include name="NHibernate.Domain*" />
211211
<include name="NHibernate.Test*" />
212-
<include name="log4net*" />
213-
</fileset>
212+
<include name="log4net*" />
213+
</fileset>
214214
</copy>
215215
</target>
216216

@@ -241,65 +241,65 @@
241241

242242
</target>
243243

244-
<fileset id="nugetfiles.all" basedir="src">
245-
<include name="NHibernate/NHibernate.build" />
246-
</fileset>
247-
248-
<target name="nuspec" depends="init nuget.set-properties" description="Create nuspec files">
249-
<nant target="nuspec">
250-
<buildfiles refid="nugetfiles.all" />
251-
</nant>
252-
</target>
253-
254-
<target name="nuget" depends="init binaries nuget.set-properties nuspec"
255-
description="Creates files for the release on nuget gallery.">
244+
<fileset id="nugetfiles.all" basedir="src">
245+
<include name="NHibernate/NHibernate.build" />
246+
</fileset>
247+
248+
<target name="nuspec" depends="init nuget.set-properties" description="Create nuspec files">
249+
<nant target="nuspec">
250+
<buildfiles refid="nugetfiles.all" />
251+
</nant>
252+
</target>
253+
254+
<target name="nuget" depends="init binaries nuget.set-properties nuspec"
255+
description="Creates files for the release on nuget gallery.">
256256

257-
<nant target="nuget">
258-
<buildfiles refid="nugetfiles.all" />
259-
</nant>
260-
261-
<mkdir dir="${nuget.nupackages.dir}" />
262-
<move todir="${nuget.nupackages.dir}">
263-
<fileset basedir="${nuget.workingdir}">
264-
<include name="*.nupkg" />
265-
</fileset>
266-
</move>
267-
</target>
268-
269-
<target name="nugetpushbat" depends="init binaries common.download-nuget nuget.set-properties nuspec nuget"
270-
description="Creates files for the release on nuget gallery.">
271-
272-
<copy file="${tools.dir}/NuGet.exe" todir="${nuget.nupackages.dir}"/>
273-
274-
<echo message="rem In order to use this bat you have to be sure you have executed 'nuget SetApiKey' ${environment::newline()}" file="${nuget.nupackages.pushbatfile}" append="false"/>
275-
<foreach item="File" property="filename">
276-
<in>
277-
<items>
278-
<include name="${nuget.nupackages.dir}/*.nupkg"/>
279-
</items>
280-
</in>
281-
<do>
282-
<echo message="nuget push ${filename} ${environment::newline()}" file="${nuget.nupackages.pushbatfile}" append="true"/>
283-
</do>
284-
</foreach>
285-
</target>
286-
287-
<target name="nugetpush" depends="init binaries common.download-nuget nuget.set-properties nuspec nuget"
288-
description="Push packages on nuget gallery.">
289-
<!-- In order to use this task you have to be sure you have executed 'nuget SetApiKey' -->
290-
<foreach item="File" property="filename">
291-
<in>
292-
<items>
293-
<include name="${nuget.nupackages.dir}/*.nupkg"/>
294-
</items>
295-
</in>
296-
<do>
297-
<exec basedir="${tools.dir}" workingdir="${nuget.nupackages.dir}" program="NuGet.exe">
298-
<arg value="push" />
299-
<arg value="${filename}" />
300-
</exec>
301-
</do>
302-
</foreach>
303-
</target>
257+
<nant target="nuget">
258+
<buildfiles refid="nugetfiles.all" />
259+
</nant>
260+
261+
<mkdir dir="${nuget.nupackages.dir}" />
262+
<move todir="${nuget.nupackages.dir}">
263+
<fileset basedir="${nuget.workingdir}">
264+
<include name="*.nupkg" />
265+
</fileset>
266+
</move>
267+
</target>
268+
269+
<target name="nugetpushbat" depends="init binaries common.download-nuget nuget.set-properties nuspec nuget"
270+
description="Creates files for the release on nuget gallery.">
271+
272+
<copy file="${tools.dir}/NuGet.exe" todir="${nuget.nupackages.dir}"/>
273+
274+
<echo message="rem In order to use this bat you have to be sure you have executed 'nuget SetApiKey' ${environment::newline()}" file="${nuget.nupackages.pushbatfile}" append="false"/>
275+
<foreach item="File" property="filename">
276+
<in>
277+
<items>
278+
<include name="${nuget.nupackages.dir}/*.nupkg"/>
279+
</items>
280+
</in>
281+
<do>
282+
<echo message="nuget push ${filename} ${environment::newline()}" file="${nuget.nupackages.pushbatfile}" append="true"/>
283+
</do>
284+
</foreach>
285+
</target>
286+
287+
<target name="nugetpush" depends="init binaries common.download-nuget nuget.set-properties nuspec nuget"
288+
description="Push packages on nuget gallery.">
289+
<!-- In order to use this task you have to be sure you have executed 'nuget SetApiKey' -->
290+
<foreach item="File" property="filename">
291+
<in>
292+
<items>
293+
<include name="${nuget.nupackages.dir}/*.nupkg"/>
294+
</items>
295+
</in>
296+
<do>
297+
<exec basedir="${tools.dir}" workingdir="${nuget.nupackages.dir}" program="NuGet.exe">
298+
<arg value="push" />
299+
<arg value="${filename}" />
300+
</exec>
301+
</do>
302+
</foreach>
303+
</target>
304304

305305
</project>

src/NHibernate/NHibernate.build

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?xml version="1.0" ?>
22

33
<project
4-
name="NHibernate"
5-
default="build"
6-
xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd"
4+
name="NHibernate"
5+
default="build"
6+
xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd"
77
>
88

99
<property name="nuspec.destination.filename" value="NHibernate.nuspec" />
1010
<property name="root.dir" value="../.." />
11-
<include buildfile="${root.dir}/build-common/common-project.xml" />
11+
<include buildfile="${root.dir}/build-common/common-project.xml" />
1212

1313
<target name="nuspec" depends="common.init nuget.set-properties" description="Create nuspec for NHibernate">
1414
<property name="nuspec.destination.file" value="${nuget.workingdir}/${nuspec.destination.filename}" />
@@ -19,7 +19,7 @@
1919
<target name="nuget" depends="common.init common.download-nuget nuget.set-properties nuspec">
2020
<!-- Prepare working dir with file needed by NHibernate.nuspec -->
2121
<copy file="${bin.dir}/NHibernate.dll" todir="${nuget.workingdir}"/>
22-
<copy file="${bin.dir}/NHibernate.pdb" todir="${nuget.workingdir}"/>
22+
<copy file="${bin.dir}/NHibernate.pdb" todir="${nuget.workingdir}"/>
2323
<copy file="${bin.dir}/NHibernate.xml" todir="${nuget.workingdir}"/>
2424
<copy file="${root.dir}/releasenotes.txt" tofile="${nuget.workingdir}/NHibernate.releasenotes.txt"/>
2525
<exec program="CScript.exe" commandline="${root.dir}/Tools/showdown/showdown.wsf ${root.dir}/README.md ${nuget.workingdir}/NHibernate.readme.html"/>
@@ -37,7 +37,7 @@
3737

3838
<exec basedir="${tools.dir}" workingdir="${nuget.workingdir}" program="NuGet.exe">
3939
<arg value="pack" />
40-
<arg value="-symbols" />
40+
<arg value="-symbols" />
4141
<arg value="${nuspec.destination.filename}" />
4242
</exec>
4343
</target>

0 commit comments

Comments
 (0)