Skip to content

Commit dafc5e1

Browse files
committed
latest build of uppercut to get Git versioning
1 parent 58d3de4 commit dafc5e1

File tree

92 files changed

+52858
-52252
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+52858
-52252
lines changed

NDepend.xml

+251
Large diffs are not rendered by default.

build.bat

+31-30
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
1-
@echo off
2-
3-
::Project UppercuT - http://uppercut.googlecode.com
4-
::No edits to this file are required - http://uppercut.pbwiki.com
5-
6-
if '%2' NEQ '' goto usage
7-
if '%3' NEQ '' goto usage
8-
if '%1' == '/?' goto usage
9-
if '%1' == '-?' goto usage
10-
if '%1' == '?' goto usage
11-
if '%1' == '/help' goto usage
12-
13-
SET DIR=%~d0%~p0%
14-
15-
SET build.config.settings="%DIR%settings\UppercuT.config"
16-
"%DIR%lib\Nant\nant.exe" %1 /f:.\build\default.build -D:build.config.settings=%build.config.settings%
17-
18-
if %ERRORLEVEL% NEQ 0 goto errors
19-
20-
goto finish
21-
22-
:usage
23-
echo.
24-
echo Usage: build.bat
25-
echo.
26-
goto finish
27-
28-
:errors
29-
EXIT /B %ERRORLEVEL%
30-
1+
@echo off
2+
3+
::Project UppercuT - http://uppercut.googlecode.com
4+
::No edits to this file are required - http://uppercut.pbwiki.com
5+
6+
if '%2' NEQ '' goto usage
7+
if '%3' NEQ '' goto usage
8+
if '%1' == '/?' goto usage
9+
if '%1' == '-?' goto usage
10+
if '%1' == '?' goto usage
11+
if '%1' == '/help' goto usage
12+
13+
SET DIR=%~d0%~p0%
14+
SET NANT="%DIR%lib\Nant\nant.exe"
15+
SET build.config.settings="%DIR%settings\UppercuT.config"
16+
17+
%NANT% %1 /f:.\build\default.build -D:build.config.settings=%build.config.settings%
18+
19+
if %ERRORLEVEL% NEQ 0 goto errors
20+
21+
goto finish
22+
23+
:usage
24+
echo.
25+
echo Usage: build.bat
26+
echo.
27+
goto finish
28+
29+
:errors
30+
EXIT /B %ERRORLEVEL%
31+
3132
:finish

build/UppercuT.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<?xml version="1.0" ?>
2-
<uppercut>
3-
<version>0.9.0.211</version>
4-
</uppercut>
5-
1+
<?xml version="1.0" ?>
2+
<uppercut>
3+
<version>0.9.0.235</version>
4+
</uppercut>
5+

build/analyze.step

+49-48
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,50 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
2-
<project name="Analyzer" default="go">
3-
<!-- Project UppercuT - http://projectuppercut.org -->
4-
<!-- DO NOT EDIT THIS FILE - Add custom tasks in BuildTasks.Custom folder with file by the same name - find out more at http://uppercut.pbwiki.com -->
5-
<property name="build.config.settings" value="__NONE__" overwrite="false" />
6-
<include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
7-
<property name="file.current.no_extension" value="analyze" />
8-
<property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
9-
<property name="folder.build_scripts" value="build" overwrite="false" />
10-
<property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
11-
<property name="dirs.build_scripts_custom" value="${dirs.current}\..\${folder.build_scripts_custom}" />
12-
<property name="file.custom.step.before" value="${dirs.build_scripts_custom}\${file.current.no_extension}.pre.step" />
13-
<property name="file.custom.step.after" value="${dirs.build_scripts_custom}\${file.current.no_extension}.post.step" />
14-
<property name="file.custom.step.replace" value="${dirs.build_scripts_custom}\${file.current.no_extension}.replace.step" />
15-
16-
<target name="go" depends="run_tasks" />
17-
18-
<target name="run_tasks">
19-
<echo message="Running ${project::get-name()} tasks." />
20-
<call target="prepare" if="${target::exists('prepare')}" />
21-
<call target="custom_tasks_before" if="${target::exists('custom_tasks_before')}" />
22-
<call target="run_normal_tasks" if="${not file::exists(file.custom.step.replace)}" />
23-
<echo message="Running custom tasks instead of normal tasks if ${file.custom.step.replace} exists." />
24-
<nant buildfile="${file.custom.step.replace}" inheritall="true" if="${file::exists(file.custom.step.replace)}" />
25-
<call target="custom_tasks_after" if="${target::exists('custom_tasks_after')}" />
26-
</target>
27-
28-
<target name="run_normal_tasks"
29-
depends="run_analyzers"
30-
description="Analyzing project for quality indicators." />
31-
32-
<target name="custom_tasks_before">
33-
<echo message="Running custom tasks if ${file.custom.step.before} exists." />
34-
<nant buildfile="${file.custom.step.before}" inheritall="true" if="${file::exists(file.custom.step.before)}" failonerror="false" />
35-
</target>
36-
37-
<target name="run_analyzers">
38-
<nant buildfile="${dirs.current}\analyzers\test.step" inheritall="true" />
39-
<nant buildfile="${dirs.current}\analyzers\ncover.step" inheritall="true" failonerror="false" />
40-
<nant buildfile="${dirs.current}\analyzers\ndepend.step" inheritall="true" failonerror="false" />
41-
<nant buildfile="${dirs.current}\analyzers\moma.step" inheritall="true" failonerror="false" />
42-
</target>
43-
44-
<target name="custom_tasks_after">
45-
<echo message="Running custom tasks if ${file.custom.step.after} exists." />
46-
<nant buildfile="${file.custom.step.after}" inheritall="true" if="${file::exists(file.custom.step.after)}" failonerror="false" />
47-
</target>
48-
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<project name="Analyzer" default="go">
3+
<!-- Project UppercuT - http://projectuppercut.org -->
4+
<!-- DO NOT EDIT THIS FILE - Add custom tasks in BuildTasks.Custom folder with file by the same name - find out more at http://uppercut.pbwiki.com -->
5+
<property name="build.config.settings" value="__NONE__" overwrite="false" />
6+
<include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
7+
<property name="file.current.no_extension" value="analyze" />
8+
<property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
9+
<property name="path.to.toplevel" value=".." />
10+
<property name="folder.build_scripts" value="build" overwrite="false" />
11+
<property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
12+
<property name="dirs.build_scripts_custom" value="${dirs.current}\${path.to.toplevel}\${folder.build_scripts_custom}" />
13+
<property name="file.custom.step.before" value="${dirs.build_scripts_custom}\${file.current.no_extension}.pre.step" />
14+
<property name="file.custom.step.after" value="${dirs.build_scripts_custom}\${file.current.no_extension}.post.step" />
15+
<property name="file.custom.step.replace" value="${dirs.build_scripts_custom}\${file.current.no_extension}.replace.step" />
16+
17+
<target name="go" depends="run_tasks" />
18+
19+
<target name="run_tasks">
20+
<echo message="Running ${project::get-name()} tasks." />
21+
<call target="prepare" if="${target::exists('prepare')}" />
22+
<call target="custom_tasks_before" if="${target::exists('custom_tasks_before')}" />
23+
<call target="run_normal_tasks" if="${not file::exists(file.custom.step.replace)}" />
24+
<echo message="Running custom tasks instead of normal tasks if ${file.custom.step.replace} exists." />
25+
<nant buildfile="${file.custom.step.replace}" inheritall="true" if="${file::exists(file.custom.step.replace)}" />
26+
<call target="custom_tasks_after" if="${target::exists('custom_tasks_after')}" />
27+
</target>
28+
29+
<target name="run_normal_tasks"
30+
depends="run_analyzers"
31+
description="Analyzing project for quality indicators." />
32+
33+
<target name="custom_tasks_before">
34+
<echo message="Running custom tasks if ${file.custom.step.before} exists." />
35+
<nant buildfile="${file.custom.step.before}" inheritall="true" if="${file::exists(file.custom.step.before)}" failonerror="false" />
36+
</target>
37+
38+
<target name="run_analyzers">
39+
<nant buildfile="${dirs.current}\analyzers\test.step" inheritall="true" />
40+
<nant buildfile="${dirs.current}\analyzers\ncover.step" inheritall="true" failonerror="false" />
41+
<nant buildfile="${dirs.current}\analyzers\ndepend.step" inheritall="true" failonerror="false" />
42+
<nant buildfile="${dirs.current}\analyzers\moma.step" inheritall="true" failonerror="false" />
43+
</target>
44+
45+
<target name="custom_tasks_after">
46+
<echo message="Running custom tasks if ${file.custom.step.after} exists." />
47+
<nant buildfile="${file.custom.step.after}" inheritall="true" if="${file::exists(file.custom.step.after)}" failonerror="false" />
48+
</target>
49+
4950
</project>

0 commit comments

Comments
 (0)