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
+
49
50
</project >
0 commit comments