-
Notifications
You must be signed in to change notification settings - Fork 4
/
Srtm2Osm.build
83 lines (69 loc) · 3.45 KB
/
Srtm2Osm.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0"?>
<project name="OsmUtils" basedir="." xmlns="http://nant.sf.net/release/0.85/nant.xsd">
<description>Srtm2Osm build script</description>
<property name="NAntContribDir" value="lib\nantcontrib-0.85" />
<include buildfile=".\Scripts\NAntCommon.build" />
<!-- setting basic project properties -->
<property name="ProjectId" value="Srtm2Osm" />
<property name="ReleaseStartDate" value="08/05/2023"/>
<property name="CompanyName" value="Igor Brejc and others"/>
<property name="BuildEngine" value="MSBuild"/>
<property name="ProjectSolutionFile" value="${ProjectId}.sln" />
<property name="ProjectKey" value="${ProjectId}.snk" />
<property name="ProjectTitle" value="Srtm2Osm" />
<property name="BuildRoot" value="${project::get-base-directory()}\Builds"/>
<property name="RestartIis" value="false" />
<property name="CreateCommonAssemblyInfo" value="true"/>
<property name="DoPrepareDb" value="false"/>
<property name="DoUseFixedBuildDir" value="true" />
<property name="FxCopVersion" value="1.36"/>
<property name="DoxygenVersion" value="1.5.2"/>
<target name="set.build.properties.custom">
<fileset id="OutputDirsToClean">
<include name="Brejc.Common.Library\bin\${ProjectConfig}\**"/>
<include name="Brejc.Common.Library\obj\${ProjectConfig}\**"/>
<include name="Brejc.DemLibrary\bin\${ProjectConfig}\**"/>
<include name="Brejc.DemLibrary\obj\${ProjectConfig}\**"/>
<include name="Brejc.Geometry\bin\${ProjectConfig}\**"/>
<include name="Brejc.Geometry\obj\${ProjectConfig}\**"/>
<include name="OsmUtils.Framework\bin\${ProjectConfig}\**"/>
<include name="OsmUtils.Framework\obj\${ProjectConfig}\**"/>
<include name="OsmUtils.OsmClient\bin\${ProjectConfig}\**"/>
<include name="OsmUtils.OsmClient\obj\${ProjectConfig}\**"/>
<include name="Srtm2Osm\bin\${ProjectConfig}\**"/>
<include name="Srtm2Osm\obj\${ProjectConfig}\**"/>
<exclude name="**\*.projdata"/>
</fileset>
<fileset id="SourceFiles">
<include name="**\*.cs"/>
</fileset>
<property name="DoDocumentAssemblies" value="false"/>
<assemblyfileset id="AssembliesToDocument">
<include name="Srtm2Osm\bin\${ProjectConfig}\Srtm2Osm.exe"/>
</assemblyfileset>
<property name="DoFxCop" value="true" />
<property name="FailIfFxCopFails" value="true" />
<zipfileset id="ShippedStuff" basedir="${BuildDir}">
<include name="Srtm2Osm\**"/>
</zipfileset>
<property name="DoShipUpgrade" value="false" />
<zipfileset id="ShippedUpgradeStuff" basedir="${BuildDir}">
</zipfileset>
</target>
<target name="copy.deliverables.custom" description="copies all necessary files to the build directory">
<copy todir="${BuildDir}\Srtm2Osm" overwrite="true">
<fileset basedir="Srtm2Osm\bin\${ProjectConfig}">
<include name="*.dll"/>
<include name="*.exe"/>
<include name="*.pdb"/>
<include name="*.config"/>
</fileset>
</copy>
<copy todir="${BuildDir}\Srtm2Osm" overwrite="true">
<fileset basedir="Srtm2Osm">
<include name="license.txt"/>
<include name="ReleaseNotes.txt"/>
</fileset>
</copy>
</target>
</project>