uppercutbuild 1.0.3.0.20100818 → 1.0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/docs/README +5 -0
- data/lib/build/UppercuT.xml +1 -1
- data/lib/build/compile.step +87 -27
- data/lib/build/gemsPrepare.step +6 -2
- data/lib/build/ilmerge.build +2 -2
- data/lib/build/uppercut.dll +0 -0
- data/lib/build/uppercut.tasks.dll +0 -0
- data/lib/settings/UppercuT.config +4 -1
- metadata +4 -5
data/docs/README
CHANGED
@@ -59,6 +59,11 @@ It helps keep to the product updated, pays for site hosting, etc. https://www.pa
|
|
59
59
|
* Adding in support for xUnit.
|
60
60
|
* Adding in support for StorEvil.
|
61
61
|
|
62
|
+
=1.0.4.0=
|
63
|
+
* Gems builds default to not using the build date as part of the version. A new setting has been added to the uppercut.config: <property name="use.gem.build_date" value="false" overwrite="false" /> (364)
|
64
|
+
* Gems builds now include a version suffix so you can be in prerelease mode or dev mode when using semantic versioning. A new setting has been added to the uppercut.config: <property name="version.gem.suffix" value="" overwrite="false" /> (364)
|
65
|
+
* ILMerge step now merges the xml documents together. (363)
|
66
|
+
|
62
67
|
=1.0.3.0=
|
63
68
|
* Fixed a bug with path to solution no longer being respected at v1 after Linux patch. (361)
|
64
69
|
* Upgraded Mono Migration Analyzer to v2.6 (360)
|
data/lib/build/UppercuT.xml
CHANGED
data/lib/build/compile.step
CHANGED
@@ -25,11 +25,12 @@
|
|
25
25
|
<property name="msbuild.platform" value="Any CPU" overwrite="false" />
|
26
26
|
<property name="msbuild.override_output_path" value="true" overwrite="false" />
|
27
27
|
<property name="msbuild.outputpath" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
|
28
|
-
<property name="xbuild.outputpath" value=".${path.separator}${folder.code_build}${path.separator}${folder.app.drop}" overwrite="false" />
|
29
28
|
<property name="solution.path" value="${directory::get-parent-directory(dirs.current)}${path.separator}${path_to_solution}${path.separator}${project.name}.sln" />
|
30
29
|
<property name="solution.path" value="${directory::get-parent-directory(dirs.current)}${path.separator}${path_to_solution}${path.separator}${project.name}.vbp" if="${microsoft.framework =='vb6'}" />
|
31
30
|
<property name="nant.settings.currentframework" value="mono-1.0" if="${platform::is-unix()}" />
|
32
31
|
<property name="nant.settings.currentframework" value="net-3.5" if="${microsoft.framework !='vb6' and platform::is-windows()}" />
|
32
|
+
<property name="app.xbuild" value="C:\Program Files (x86)\Mono-2.6.7\bin\xbuild.bat" overwrite="false" if="${platform::is-windows()}" />
|
33
|
+
<property name="app.xbuild" value="xbuild" overwrite="false" if="${platform::is-unix()}" />
|
33
34
|
<property name="framework.multitargeting" value="false" />
|
34
35
|
<property name="framework.multitargeting.delimiter" value="," />
|
35
36
|
<property name="file.custom.step.before" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.pre.step" />
|
@@ -107,7 +108,6 @@
|
|
107
108
|
<if test="${framework.multitargeting}">
|
108
109
|
<foreach item="String" in="${microsoft.framework}" delim="${framework.multitargeting.delimiter}" property="framework.specific">
|
109
110
|
<property name="msbuild.outputpath" value="${dirs.build}${path.separator}${folder.app.drop}${path.separator}${framework.specific}" />
|
110
|
-
<property name="xbuild.outputpath" value=".${path.separator}${folder.code_build}${path.separator}${folder.app.drop}${path.separator}${framework.specific}" />
|
111
111
|
<property name="microsoft.framework.specific" value="${string::trim(framework.specific)}" />
|
112
112
|
<call target="build_dotNet_code_framework" />
|
113
113
|
</foreach>
|
@@ -125,12 +125,12 @@
|
|
125
125
|
<if test="${platform::is-unix()}">
|
126
126
|
<!-- Do clean and build in two steps since xbuild has a bug with using OutputPath and Rebuild together Bug #628525 at Novell -->
|
127
127
|
<echo message="Cleaning build..." />
|
128
|
-
<exec program="xbuild"
|
128
|
+
<exec program="${app.xbuild}"
|
129
129
|
basedir="/usr/bin"
|
130
130
|
workingdir="${dirs.build}"
|
131
131
|
commandline="${solution.path} /nologo /property:OutputPath='${msbuild.outputpath}' /property:Configuration=${msbuild.configuration} /verbosity:minimal /noconsolelogger /target:Clean" />
|
132
|
-
|
133
|
-
<exec program="xbuild"
|
132
|
+
<echo message="Building..." />
|
133
|
+
<exec program="${app.xbuild}"
|
134
134
|
basedir="/usr/bin"
|
135
135
|
workingdir="${dirs.build}"
|
136
136
|
commandline="${solution.path} /nologo /property:OutputPath='${msbuild.outputpath}' /property:Configuration=${msbuild.configuration} /verbosity:minimal /noconsolelogger" />
|
@@ -139,37 +139,97 @@
|
|
139
139
|
<!-- nant is retarded - I had to have four of these instead of throwing an if on the outputpath and targets -->
|
140
140
|
<if test="${msbuild.override_output_path}">
|
141
141
|
<if test="${framework.multitargeting}">
|
142
|
-
<
|
143
|
-
|
144
|
-
<
|
145
|
-
<
|
146
|
-
|
147
|
-
|
148
|
-
|
142
|
+
<if test="${framework::get-family(microsoft.framework.specific) == 'mono'}" >
|
143
|
+
<!-- Do clean and build in two steps since xbuild has a bug with using OutputPath and Rebuild together Bug #628525 at Novell -->
|
144
|
+
<echo message="Cleaning build..." />
|
145
|
+
<exec program="${app.xbuild}"
|
146
|
+
basedir="${dirs.build}"
|
147
|
+
workingdir="${dirs.build}"
|
148
|
+
commandline="${solution.path} /nologo /property:OutputPath='${msbuild.outputpath}' /property:Configuration=${msbuild.configuration} /verbosity:minimal /noconsolelogger /target:Clean" />
|
149
|
+
<echo message="Building..." />
|
150
|
+
<exec program="${app.xbuild}"
|
151
|
+
basedir="${dirs.build}"
|
152
|
+
workingdir="${dirs.build}"
|
153
|
+
commandline="${solution.path} /nologo /property:OutputPath='${msbuild.outputpath}' /property:Configuration=${msbuild.configuration} /verbosity:minimal /noconsolelogger" />
|
154
|
+
</if>
|
155
|
+
<if test="${framework::get-family(microsoft.framework.specific) != 'mono'}" >
|
156
|
+
<msbuild project="${solution.path}" verbosity="minimal">
|
157
|
+
<property name="Configuration" value="${msbuild.configuration}" />
|
158
|
+
<property name="OutputPath" value="${msbuild.outputpath}" />
|
159
|
+
<property name="Platform" value="${msbuild.platform}" />
|
160
|
+
<property name="TargetFrameworkVersion" value="v${framework::get-version(microsoft.framework.specific)}" />
|
161
|
+
<property name="ToolsVersion" value="${framework::get-version(microsoft.framework.specific)}" />
|
162
|
+
</msbuild>
|
163
|
+
</if>
|
149
164
|
</if>
|
150
165
|
<if test="${not framework.multitargeting}">
|
151
|
-
<
|
152
|
-
|
153
|
-
<
|
154
|
-
<
|
155
|
-
|
166
|
+
<if test="${framework::get-family(microsoft.framework.specific) == 'mono'}" >
|
167
|
+
<!-- Do clean and build in two steps since xbuild has a bug with using OutputPath and Rebuild together Bug #628525 at Novell -->
|
168
|
+
<echo message="Cleaning build..." />
|
169
|
+
<exec program="${app.xbuild}"
|
170
|
+
basedir="${dirs.build}"
|
171
|
+
workingdir="${dirs.build}"
|
172
|
+
commandline="${solution.path} /nologo /property:OutputPath='${msbuild.outputpath}' /property:Configuration=${msbuild.configuration} /verbosity:minimal /noconsolelogger /target:Clean" />
|
173
|
+
<echo message="Building..." />
|
174
|
+
<exec program="${app.xbuild}"
|
175
|
+
basedir="${dirs.build}"
|
176
|
+
workingdir="${dirs.build}"
|
177
|
+
commandline="${solution.path} /nologo /property:OutputPath='${msbuild.outputpath}' /property:Configuration=${msbuild.configuration} /verbosity:minimal /noconsolelogger" />
|
178
|
+
</if>
|
179
|
+
<if test="${framework::get-family(microsoft.framework.specific) != 'mono'}" >
|
180
|
+
<msbuild project="${solution.path}" verbosity="minimal">
|
181
|
+
<property name="Configuration" value="${msbuild.configuration}" />
|
182
|
+
<property name="OutputPath" value="${msbuild.outputpath}" />
|
183
|
+
<property name="Platform" value="${msbuild.platform}" />
|
184
|
+
</msbuild>
|
185
|
+
</if>
|
156
186
|
</if>
|
157
187
|
</if>
|
158
188
|
<if test="${not msbuild.override_output_path}">
|
159
189
|
<if test="${framework.multitargeting}">
|
160
|
-
<
|
161
|
-
|
162
|
-
<
|
163
|
-
<
|
164
|
-
|
165
|
-
|
190
|
+
<if test="${framework::get-family(microsoft.framework.specific) == 'mono'}" >
|
191
|
+
<!-- Do clean and build in two steps since xbuild has a bug with using OutputPath and Rebuild together Bug #628525 at Novell -->
|
192
|
+
<echo message="Cleaning build..." />
|
193
|
+
<exec program="${app.xbuild}"
|
194
|
+
basedir="${dirs.build}"
|
195
|
+
workingdir="${dirs.build}"
|
196
|
+
commandline="${solution.path} /nologo /property:Configuration=${msbuild.configuration} /verbosity:minimal /noconsolelogger /target:Clean" />
|
197
|
+
<echo message="Building..." />
|
198
|
+
<exec program="${app.xbuild}"
|
199
|
+
basedir="${dirs.build}"
|
200
|
+
workingdir="${dirs.build}"
|
201
|
+
commandline="${solution.path} /nologo /property:Configuration=${msbuild.configuration} /verbosity:minimal /noconsolelogger" />
|
202
|
+
</if>
|
203
|
+
<if test="${framework::get-family(microsoft.framework.specific) != 'mono'}" >
|
204
|
+
<msbuild project="${solution.path}" verbosity="minimal">
|
205
|
+
<property name="Configuration" value="${msbuild.configuration}" />
|
206
|
+
<property name="Platform" value="${msbuild.platform}" />
|
207
|
+
<property name="TargetFrameworkVersion" value="v${framework::get-version(microsoft.framework.specific)}" />
|
208
|
+
<property name="ToolsVersion" value="${framework::get-version(microsoft.framework.specific)}" />
|
209
|
+
</msbuild>
|
210
|
+
</if>
|
166
211
|
</if>
|
167
212
|
<if test="${not framework.multitargeting}">
|
168
213
|
</if>
|
169
|
-
<
|
170
|
-
|
171
|
-
<
|
172
|
-
|
214
|
+
<if test="${framework::get-family(microsoft.framework.specific) == 'mono'}" >
|
215
|
+
<!-- Do clean and build in two steps since xbuild has a bug with using OutputPath and Rebuild together Bug #628525 at Novell -->
|
216
|
+
<echo message="Cleaning build..." />
|
217
|
+
<exec program="${app.xbuild}"
|
218
|
+
basedir="${dirs.build}"
|
219
|
+
workingdir="${dirs.build}"
|
220
|
+
commandline="${solution.path} /nologo /property:Configuration=${msbuild.configuration} /verbosity:minimal /noconsolelogger /target:Clean" />
|
221
|
+
<echo message="Building..." />
|
222
|
+
<exec program="${app.xbuild}"
|
223
|
+
basedir="${dirs.build}"
|
224
|
+
workingdir="${dirs.build}"
|
225
|
+
commandline="${solution.path} /nologo /property:Configuration=${msbuild.configuration} /verbosity:minimal /noconsolelogger" />
|
226
|
+
</if>
|
227
|
+
<if test="${framework::get-family(microsoft.framework.specific) != 'mono'}" >
|
228
|
+
<msbuild project="${solution.path}" verbosity="minimal">
|
229
|
+
<property name="Configuration" value="${msbuild.configuration}" />
|
230
|
+
<property name="Platform" value="${msbuild.platform}" />
|
231
|
+
</msbuild>
|
232
|
+
</if>
|
173
233
|
</if>
|
174
234
|
</if>
|
175
235
|
</target>
|
data/lib/build/gemsPrepare.step
CHANGED
@@ -36,6 +36,8 @@
|
|
36
36
|
<property name="version.revision" value="0" overwrite="false" />
|
37
37
|
<property name="assembly.version.full" value="${version.major}.${version.minor}.${version.build}.${version.revision}" />
|
38
38
|
<property name="assembly.version.full" value="${version.major}.${version.minor}.${version.patch}.0" if="${version.use_semanticversioning}" />
|
39
|
+
<property name="version.gem.suffix" value="" overwrite="false" />
|
40
|
+
<property name="use.gem.build_date" value="false" overwrite="false" />
|
39
41
|
<property name="gem.build.date" value="20100801" overwrite="false" />
|
40
42
|
<property name="file.gems.version" value="${dirs.drop.gems}${path.separator}VERSION" />
|
41
43
|
|
@@ -142,8 +144,10 @@
|
|
142
144
|
</target>
|
143
145
|
|
144
146
|
<target name="generate_version_file">
|
145
|
-
<echo message="Generating ${file.gems.version} with ${assembly.version.full}
|
146
|
-
<echo file="${file.gems.version}" append="false" failonerror="false">${assembly.version.full}
|
147
|
+
<echo message="Generating ${file.gems.version} with ${assembly.version.full}${version.gem.suffix} for the version" if="${not use.gem.build_date}" />
|
148
|
+
<echo file="${file.gems.version}" if="${not use.gem.build_date}" append="false" failonerror="false">${assembly.version.full}${version.gem.suffix}</echo>
|
149
|
+
<echo message="Generating ${file.gems.version} with ${assembly.version.full}.${gem.build.date}${version.gem.suffix} for the version" if="${use.gem.build_date}" />
|
150
|
+
<echo file="${file.gems.version}" if="${use.gem.build_date}" append="false" failonerror="false">${assembly.version.full}.${gem.build.date}${version.gem.suffix}</echo>
|
147
151
|
</target>
|
148
152
|
|
149
153
|
<target name="custom_tasks_after">
|
data/lib/build/ilmerge.build
CHANGED
@@ -29,8 +29,8 @@
|
|
29
29
|
<property name="file.merge.name" value="__REPLACE__" overwrite="false" />
|
30
30
|
<!-- exe winexe dll -->
|
31
31
|
<property name="merge.target.type" value="__REPLACE__" overwrite="false" />
|
32
|
-
<property name="args.ilmerge" value="/internalize /target:${merge.target.type} /out:${dirs.merge.to}${path.separator}${file.merge.name} /log:${dirs.merge.log}${path.separator}${log.merge} /ndebug /allowDup ${file.merge.name} " />
|
33
|
-
<property name="args.ilmerge" value="/internalize:${path.file.internalize.ignore} /target:${merge.target.type} /out:${dirs.merge.to}${path.separator}${file.merge.name} /log:${dirs.merge.log}${path.separator}${log.merge} /ndebug /allowDup ${file.merge.name} " if="${file::exists(path.file.internalize.ignore)}"/>
|
32
|
+
<property name="args.ilmerge" value="/internalize /target:${merge.target.type} /out:${dirs.merge.to}${path.separator}${file.merge.name} /log:${dirs.merge.log}${path.separator}${log.merge} /xmldocs /ndebug /allowDup ${file.merge.name} " />
|
33
|
+
<property name="args.ilmerge" value="/internalize:${path.file.internalize.ignore} /target:${merge.target.type} /out:${dirs.merge.to}${path.separator}${file.merge.name} /log:${dirs.merge.log}${path.separator}${log.merge} /xmldocs /ndebug /allowDup ${file.merge.name} " if="${file::exists(path.file.internalize.ignore)}"/>
|
34
34
|
|
35
35
|
<property name="allow.powershell.unrestricted" value="false" overwrite="false" />
|
36
36
|
<property name="file.custom.step.before" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.pre.build" />
|
data/lib/build/uppercut.dll
CHANGED
Binary file
|
Binary file
|
@@ -24,7 +24,7 @@
|
|
24
24
|
<property name="folder.file_server" value="file.server" overwrite="false" />
|
25
25
|
|
26
26
|
<!-- FRAMEWORKS -->
|
27
|
-
<!-- microsoft.framework: vb6, net-1.1, net-2.0, net-3.5, net-4.0 (Enter multiple ones with a "," to take advantage of multitargeting) -->
|
27
|
+
<!-- microsoft.framework: vb6, net-1.0, net-1.1, net-2.0, net-3.5, net-4.0, netcf-1.0, netcf-2.0, silverlight-2.0, mono-1.0, mono-2.0, mono-3.5, moonlight-2.0 (Enter multiple ones with a "," to take advantage of multitargeting) -->
|
28
28
|
<property name="microsoft.framework" value="net-3.5" overwrite="false" />
|
29
29
|
<!-- language.short: vb,cs -->
|
30
30
|
<property name="language.short" value="cs" overwrite="false" />
|
@@ -41,6 +41,8 @@
|
|
41
41
|
<property name="version.major" value="0" overwrite="false" />
|
42
42
|
<property name="version.minor" value="0" overwrite="false" />
|
43
43
|
<property name="version.patch" value="0" overwrite="false" />
|
44
|
+
<property name="version.gem.suffix" value="" overwrite="false" />
|
45
|
+
<property name="use.gem.build_date" value="false" overwrite="false" />
|
44
46
|
<property name="assembly.description" value="${project.name} is a product of ${company.name} - ${repository.path}." overwrite="false" />
|
45
47
|
<property name="assembly.clscompliant" value="true" overwrite="false" />
|
46
48
|
<!-- partially trusted callers doesn't set correctly with assembly generator - Leave false for now-->
|
@@ -74,6 +76,7 @@
|
|
74
76
|
<property name="app.ndepend" value="C:\Program Files\NDepend\NDepend.Console.exe" overwrite="false" />
|
75
77
|
<property name="app.moma" value="..\..\${folder.references}\MoMA\MoMA.exe" overwrite="false" />
|
76
78
|
<property name="app.nitriq" value="C:\Program Files (x86)\NimblePros\Nitriq Console + Pro\Nitriq.Console.exe" overwrite="false" />
|
79
|
+
<property name="app.xbuild" value="C:\Program Files (x86)\Mono-2.6.7\bin\xbuild.bat" overwrite="false" />
|
77
80
|
<property name="allow.powershell.unrestricted" value="false" overwrite="false" />
|
78
81
|
<property name="run.ilmerge" value="false" overwrite="false" />
|
79
82
|
</project>
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uppercutbuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 79
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
9
|
+
- 4
|
10
10
|
- 0
|
11
|
-
|
12
|
-
version: 1.0.3.0.20100818
|
11
|
+
version: 1.0.4.0
|
13
12
|
platform: ruby
|
14
13
|
authors:
|
15
14
|
- Rob "FerventCoder" Reynolds
|
@@ -18,7 +17,7 @@ autorequire:
|
|
18
17
|
bindir: bin
|
19
18
|
cert_chain: []
|
20
19
|
|
21
|
-
date: 2010-08-
|
20
|
+
date: 2010-08-28 00:00:00 -05:00
|
22
21
|
default_executable:
|
23
22
|
dependencies:
|
24
23
|
- !ruby/object:Gem::Dependency
|