uppercutbuild 0.9.0.346.20100805 → 1.0.0.0.20100806

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. data/docs/README +7 -2
  2. data/lib/build.sh +23 -0
  3. data/lib/build/UppercuT.xml +1 -1
  4. data/lib/build/analyze.step +78 -77
  5. data/lib/build/analyzers/gallio.test.step +25 -26
  6. data/lib/build/analyzers/mbunit2.test.step +25 -28
  7. data/lib/build/analyzers/moma.step +29 -31
  8. data/lib/build/analyzers/ncover.step +32 -34
  9. data/lib/build/analyzers/ndepend.step +19 -12
  10. data/lib/build/analyzers/nitriq.step +19 -22
  11. data/lib/build/analyzers/nunit.test.step +37 -37
  12. data/lib/build/analyzers/test.step +99 -98
  13. data/lib/build/compile.step +68 -50
  14. data/lib/build/customize.build +76 -75
  15. data/lib/build/customizers/item.template +50 -49
  16. data/lib/build/default.build +171 -167
  17. data/lib/build/deploymentBuilder.step +103 -102
  18. data/lib/build/environmentBuilder.step +119 -118
  19. data/lib/build/gemsBuild.step +113 -112
  20. data/lib/build/gemsPrepare.step +157 -156
  21. data/lib/build/generateBuildInfo.step +108 -105
  22. data/lib/build/ilmerge.build +183 -182
  23. data/lib/build/open.build +115 -102
  24. data/lib/build/package.step +234 -233
  25. data/lib/build/policyChecks.step +81 -80
  26. data/lib/build/updateAssemblies.build +107 -106
  27. data/lib/build/uppercut.dll +0 -0
  28. data/lib/build/uppercut.tasks.dll +0 -0
  29. data/lib/build/versionBuilder.step +149 -147
  30. data/lib/build/versioners/git.step +106 -105
  31. data/lib/build/versioners/hg.step +106 -105
  32. data/lib/build/versioners/svn.step +112 -111
  33. data/lib/build/versioners/tfs.step +104 -103
  34. data/lib/build/zip.build +134 -162
  35. data/lib/deployment/scripts/database.deploy +37 -36
  36. data/lib/open.sh +7 -0
  37. data/lib/settings/UppercuT.config +76 -73
  38. data/lib/zip.sh +9 -0
  39. metadata +9 -6
@@ -1,37 +1,38 @@
1
- <?xml version="1.0" encoding="utf-8" ?>
2
- <project name="RoundhousEDeploy" default="go">
3
- <!-- Visit http://roundhouse.googlecode.com/ for details -->
4
- <property name="deploy.settings" value="__NONE__" overwrite="false" />
5
- <include buildfile="${deploy.settings}" if="${file::exists(deploy.settings)}" />
6
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
7
- <property name="project.name" value="__PROJECT_NAME__" overwrite="false" />
8
- <property name="folder.app.drop" value="${project.name}" overwrite="false" />
9
- <property name="repository.path" value="__REPOSITORY_PATH__" overwrite="false" />
10
- <property name="folder.database" value="__DATABASE_FOLDER_NAME__" overwrite="false" />
11
- <property name="server.database" value="__DATABASE_SERVER__" overwrite="false" />
12
- <property name="database.name" value="__DATABASE_NAME__" overwrite="false" />
13
- <property name="environment" value="" overwrite="false" />
14
- <property name="dirs.db" value="${dirs.current}\..\..\${folder.database}\${database.name}" overwrite="false" />
15
- <property name="file.version" value="${project.name}.dll" overwrite="false" />
16
- <property name="path.file.version" value="${dirs.current}\..\..\${folder.app.drop}\${file.version}" overwrite="false" />
17
- <property name="restore" value="false" overwrite="false" />
18
- <property name="restore.from.path" value="" overwrite="false" />
19
- <property name="restore.from.path.full" value="${path::get-full-path(restore.from.path)}" if="${restore.from.path!= ''}" />
20
-
21
- <target name="go" depends="run_roundhouse" />
22
-
23
- <target name="run_roundhouse">
24
- <echo message="Running RoundhousE on ${server.database} (${database.name}). Looking in ${dirs.db} for sql scripts." />
25
- <roundhouse
26
- serverName="${server.database}"
27
- databaseName="${database.name}"
28
- sqlFilesDirectory="${dirs.db}"
29
- repositoryPath="${repository.path}"
30
- versionFile="${path.file.version}"
31
- environmentName="${environment}"
32
- restore="${restore}"
33
- restoreFromPath="${restore.from.path.full}"
34
- />
35
- </target>
36
-
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <project name="RoundhousEDeploy" default="go">
3
+ <!-- Visit http://roundhouse.googlecode.com/ for details -->
4
+ <property name="deploy.settings" value="__NONE__" overwrite="false" />
5
+ <include buildfile="${deploy.settings}" if="${file::exists(deploy.settings)}" />
6
+ <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
7
+ <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
8
+ <property name="project.name" value="__PROJECT_NAME__" overwrite="false" />
9
+ <property name="folder.app.drop" value="${project.name}" overwrite="false" />
10
+ <property name="repository.path" value="__REPOSITORY_PATH__" overwrite="false" />
11
+ <property name="folder.database" value="__DATABASE_FOLDER_NAME__" overwrite="false" />
12
+ <property name="server.database" value="__DATABASE_SERVER__" overwrite="false" />
13
+ <property name="database.name" value="__DATABASE_NAME__" overwrite="false" />
14
+ <property name="environment" value="" overwrite="false" />
15
+ <property name="dirs.db" value="${dirs.current}${path.separator}..${path.separator}..${path.separator}${folder.database}${path.separator}${database.name}" overwrite="false" />
16
+ <property name="file.version" value="${project.name}.dll" overwrite="false" />
17
+ <property name="path.file.version" value="${dirs.current}${path.separator}..${path.separator}..${path.separator}${folder.app.drop}${path.separator}${file.version}" overwrite="false" />
18
+ <property name="restore" value="false" overwrite="false" />
19
+ <property name="restore.from.path" value="" overwrite="false" />
20
+ <property name="restore.from.path.full" value="${path::get-full-path(restore.from.path)}" if="${restore.from.path!= ''}" />
21
+
22
+ <target name="go" depends="run_roundhouse" />
23
+
24
+ <target name="run_roundhouse">
25
+ <echo message="Running RoundhousE on ${server.database} (${database.name}). Looking in ${dirs.db} for sql scripts." />
26
+ <roundhouse
27
+ serverName="${server.database}"
28
+ databaseName="${database.name}"
29
+ sqlFilesDirectory="${dirs.db}"
30
+ repositoryPath="${repository.path}"
31
+ versionFile="${path.file.version}"
32
+ environmentName="${environment}"
33
+ restore="${restore}"
34
+ restoreFromPath="${restore.from.path.full}"
35
+ />
36
+ </target>
37
+
37
38
  </project>
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ # stty -echo
3
+
4
+ # ::Project UppercuT - http://uppercut.googlecode.com
5
+ # ::No edits to this file are required - http://uppercut.pbwiki.com
6
+
7
+ mono ./lib/NAnt/NAnt.exe $1 /f:$(cd $(dirname "$0"); pwd)/build/open.build -D:build.config.settings=$(cd $(dirname "$0"); pwd)/Settings/UppercuT.config
@@ -1,74 +1,77 @@
1
- <?xml version="1.0" encoding="utf-8" ?>
2
- <project name="BuildSettings">
3
- <!-- Project UppercuT - http://projectuppercut.org -->
4
- <!-- Learn how to edit this file at http://uppercut.pbwiki.com -->
5
-
6
- <!-- Required Items -->
7
- <property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
8
- <property name="path_to_solution" value="." overwrite="false" />
9
- <property name="repository.path" value="__REPOSITORY_PATH__" overwrite="false" />
10
- <property name="company.name" value="__COMPANY_NAME__" overwrite="false" />
11
-
12
- <!-- folders -->
13
- <property name="folder.database" value="${project.name}.Database" overwrite="false" />
14
- <property name="folder.reports" value="${project.name}.Reports" overwrite="false" />
15
- <property name="folder.deployment" value="deployment" overwrite="false" />
16
- <property name="folder.documentation" value="docs" overwrite="false" />
17
- <property name="folder.references" value="lib" overwrite="false" />
18
- <property name="folder.build_scripts" value="build" overwrite="false" />
19
- <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
20
- <property name="folder.code_build" value="build_output" overwrite="false" />
21
- <property name="folder.code_drop" value="code_drop" overwrite="false" />
22
- <property name="folder.app.drop" value="${project.name}" overwrite="false" />
23
- <property name="folder.environment_files" value="environment.files" overwrite="false" />
24
- <property name="folder.file_server" value="file.server" overwrite="false" />
25
-
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) -->
28
- <property name="microsoft.framework" value="net-3.5" overwrite="false" />
29
- <!-- language.short: vb,cs -->
30
- <property name="language.short" value="cs" overwrite="false" />
31
- <!-- test.framework: none, mbunit2, nunit, gallio - with gallio it must be installed in program files on every computer. Alternatively you can add 26MB to your repo and put it there. Little much for my tastes. -->
32
- <property name="test.framework" value="nunit" overwrite="false" />
33
- <!-- source_control_type: svn, vss, tfs, vault, git, hg -->
34
- <property name="source_control_type" value="svn" overwrite="false" />
35
-
36
- <!-- ASSEMBLY VARIABLES -->
37
- <property name="version.major" value="0" overwrite="false" />
38
- <property name="version.minor" value="0" overwrite="false" />
39
- <property name="assembly.description" value="${project.name} is a product of ${company.name} - ${repository.path}." overwrite="false" />
40
- <property name="assembly.clscompliant" value="true" overwrite="false" />
41
- <!-- partially trusted callers doesn't set correctly with assembly generator - Leave false for now-->
42
- <property name="allow.partially_trusted_callers" value="false" overwrite="false" />
43
- <property name="sign.project_with_key" value="false" overwrite="false" />
44
- <!-- To use relative pathing your projects all need to be at the same level. -->
45
- <property name="sign.key.use_relative_pathing" value="false" overwrite="false" />
46
- <property name="sign.key.relative_path_from_projects" value="..\..\" overwrite="false" />
47
-
48
- <!-- COMPILE VARIABLES -->
49
- <property name="msbuild.configuration" value="Release" overwrite="false" />
50
- <property name="msbuild.platform" value="Any CPU" overwrite="false" />
51
- <!-- This setting allows you to use your own output path by setting to false - this does not work in conjuction with multitargeting -->
52
- <property name="msbuild.override_output_path" value="true" overwrite="false" />
53
-
54
- <!-- POLICIES -->
55
- <property name="file.installation_document" value="..\${folder.documentation}\Installation\${project.name}Installation.doc" overwrite="false" />
56
- <property name="fail.if_no_installation_document" value="false" overwrite="false" />
57
-
58
- <!-- EXTERNAL TOOLS -->
59
- <!-- These are run two folders down from the top level folder, so figure out the relative path from there and add "..\..\" -->
60
- <!-- In example, if from the top level directory, you have an item that is in lib\NCover\NCover.Console.exe you should add it here as ..\..\lib\NCover\NCover.Console.exe -->
61
- <!-- To not use the tool, change to a location that doesn't exist -->
62
- <property name="app.nunit.console" value="..\..\${folder.references}\NUnit\nunit-console.exe" overwrite="false" />
63
- <property name="app.ncover" value="..\..\${folder.references}\NCover\NCover.Console.exe" overwrite="false" />
64
- <property name="app.ncover_explorer" value="..\..\${folder.references}\NCover\NCoverExplorer.Console.exe" overwrite="false" />
65
- <property name="app.ncover.tester" value="..\..\${folder.references}\MbUnit2\MbUnit.Cons.exe" overwrite="false" if="${test.framework=='mbunit2'}" />
66
- <property name="app.ncover.tester" value="${app.nunit.console}" overwrite="false" if="${test.framework=='nunit'}" />
67
- <property name="app.ncover.tester" value="C:\Program Files (x86)\Gallio\bin\Gallio.Host.exe" overwrite="false" if="${test.framework=='gallio'}" />
68
- <property name="app.ndepend" value="C:\Program Files\NDepend\NDepend.Console.exe" overwrite="false" />
69
- <property name="app.moma" value="..\..\${folder.references}\MoMA\MoMA.exe" overwrite="false" />
70
- <property name="app.nitriq" value="C:\Program Files (x86)\NimblePros\Nitriq Console + Pro\Nitriq.Console.exe" overwrite="false" />
71
- <property name="allow.powershell.unrestricted" value="false" overwrite="false" />
72
- <property name="run.ilmerge" value="false" overwrite="false" />
73
-
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <project name="BuildSettings">
3
+ <!-- Project UppercuT - http://projectuppercut.org -->
4
+ <!-- Learn how to edit this file at http://uppercut.pbwiki.com -->
5
+
6
+ <!-- Required Items -->
7
+ <property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
8
+ <property name="path_to_solution" value="." overwrite="false" />
9
+ <property name="repository.path" value="__REPOSITORY_PATH__" overwrite="false" />
10
+ <property name="company.name" value="__COMPANY_NAME__" overwrite="false" />
11
+
12
+ <!-- folders -->
13
+ <property name="folder.database" value="${project.name}.Database" overwrite="false" />
14
+ <property name="folder.reports" value="${project.name}.Reports" overwrite="false" />
15
+ <property name="folder.deployment" value="deployment" overwrite="false" />
16
+ <property name="folder.documentation" value="docs" overwrite="false" />
17
+ <property name="folder.references" value="lib" overwrite="false" />
18
+ <property name="folder.build_scripts" value="build" overwrite="false" />
19
+ <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
20
+ <property name="folder.code_build" value="build_output" overwrite="false" />
21
+ <property name="folder.code_drop" value="code_drop" overwrite="false" />
22
+ <property name="folder.app.drop" value="${project.name}" overwrite="false" />
23
+ <property name="folder.environment_files" value="environment.files" overwrite="false" />
24
+ <property name="folder.file_server" value="file.server" overwrite="false" />
25
+
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) -->
28
+ <property name="microsoft.framework" value="net-3.5" overwrite="false" />
29
+ <!-- language.short: vb,cs -->
30
+ <property name="language.short" value="cs" overwrite="false" />
31
+ <!-- test.framework: none, mbunit2, nunit, gallio - with gallio it must be installed in program files on every computer. Alternatively you can add 26MB to your repo and put it there. Little much for my tastes. -->
32
+ <property name="test.framework" value="nunit" overwrite="false" />
33
+ <!-- source_control_type: svn, vss, tfs, vault, git, hg -->
34
+ <property name="source_control_type" value="svn" overwrite="false" />
35
+
36
+ <!-- Environment spesific variables -->
37
+ <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
38
+
39
+ <!-- ASSEMBLY VARIABLES -->
40
+ <property name="version.major" value="0" overwrite="false" />
41
+ <property name="version.minor" value="0" overwrite="false" />
42
+ <property name="version.patch" value="0" overwrite="false" />
43
+ <property name="assembly.description" value="${project.name} is a product of ${company.name} - ${repository.path}." overwrite="false" />
44
+ <property name="assembly.clscompliant" value="true" overwrite="false" />
45
+ <!-- partially trusted callers doesn't set correctly with assembly generator - Leave false for now-->
46
+ <property name="allow.partially_trusted_callers" value="false" overwrite="false" />
47
+ <property name="sign.project_with_key" value="false" overwrite="false" />
48
+ <!-- To use relative pathing your projects all need to be at the same level. -->
49
+ <property name="sign.key.use_relative_pathing" value="false" overwrite="false" />
50
+ <property name="sign.key.relative_path_from_projects" value="..${path.separator}..${path.separator}" overwrite="false" />
51
+
52
+ <!-- COMPILE VARIABLES -->
53
+ <property name="msbuild.configuration" value="Release" overwrite="false" />
54
+ <property name="msbuild.platform" value="Any CPU" overwrite="false" />
55
+ <!-- This setting allows you to use your own output path by setting to false - this does not work in conjuction with multitargeting -->
56
+ <property name="msbuild.override_output_path" value="true" overwrite="false" />
57
+
58
+ <!-- POLICIES -->
59
+ <property name="file.installation_document" value="..${path.separator}${folder.documentation}${path.separator}Installation${path.separator}${project.name}Installation.doc" overwrite="false" />
60
+ <property name="fail.if_no_installation_document" value="false" overwrite="false" />
61
+
62
+ <!-- EXTERNAL TOOLS -->
63
+ <!-- These are run two folders down from the top level folder, so figure out the relative path from there and add "..\..\" -->
64
+ <!-- In example, if from the top level directory, you have an item that is in lib\NCover\NCover.Console.exe you should add it here as ..\..\lib\NCover\NCover.Console.exe -->
65
+ <!-- To not use the tool, change to a location that doesn't exist -->
66
+ <property name="app.nunit.console" value="..${path.separator}..${path.separator}${folder.references}${path.separator}NUnit${path.separator}nunit-console.exe" overwrite="false" />
67
+ <property name="app.ncover" value="..${path.separator}..${path.separator}${folder.references}${path.separator}NCover${path.separator}NCover.Console.exe" overwrite="false" />
68
+ <property name="app.ncover_explorer" value="..${path.separator}..${path.separator}${folder.references}${path.separator}NCover${path.separator}NCoverExplorer.Console.exe" overwrite="false" />
69
+ <property name="app.ncover.tester" value="..${path.separator}..${path.separator}${folder.references}${path.separator}MbUnit2${path.separator}MbUnit.Cons.exe" overwrite="false" if="${test.framework=='mbunit2'}" />
70
+ <property name="app.ncover.tester" value="${app.nunit.console}" overwrite="false" if="${test.framework=='nunit'}" />
71
+ <property name="app.ncover.tester" value="C:\Program Files (x86)\Gallio\bin\Gallio.Host.exe" overwrite="false" if="${test.framework=='gallio'}" />
72
+ <property name="app.ndepend" value="C:\Program Files\NDepend\NDepend.Console.exe" overwrite="false" />
73
+ <property name="app.moma" value="..\..\${folder.references}\MoMA\MoMA.exe" overwrite="false" />
74
+ <property name="app.nitriq" value="C:\Program Files (x86)\NimblePros\Nitriq Console + Pro\Nitriq.Console.exe" overwrite="false" />
75
+ <property name="allow.powershell.unrestricted" value="false" overwrite="false" />
76
+ <property name="run.ilmerge" value="false" overwrite="false" />
74
77
  </project>
@@ -0,0 +1,9 @@
1
+ #!/bin/bash
2
+ # stty -echo
3
+
4
+ # ::Project UppercuT - http://uppercut.googlecode.com
5
+ # ::No edits to this file are required - http://uppercut.pbwiki.com
6
+
7
+ ./build.sh
8
+
9
+ mono ./lib/NAnt/NAnt.exe $1 /f:$(cd $(dirname "$0"); pwd)/build/zip.build -D:build.config.settings=$(cd $(dirname "$0"); pwd)/Settings/UppercuT.config
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uppercutbuild
3
3
  version: !ruby/object:Gem::Version
4
- hash: 40200397
4
+ hash: 40201491
5
5
  prerelease: false
6
6
  segments:
7
+ - 1
7
8
  - 0
8
- - 9
9
9
  - 0
10
- - 346
11
- - 20100805
12
- version: 0.9.0.346.20100805
10
+ - 0
11
+ - 20100806
12
+ version: 1.0.0.0.20100806
13
13
  platform: ruby
14
14
  authors:
15
15
  - Rob "FerventCoder" Reynolds
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2010-08-05 00:00:00 -05:00
21
+ date: 2010-08-06 00:00:00 -05:00
22
22
  default_executable:
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency
@@ -90,6 +90,7 @@ files:
90
90
  - lib/build/versioners/tfs.step
91
91
  - lib/build/zip.build
92
92
  - lib/build.bat
93
+ - lib/build.sh
93
94
  - lib/deployment/scripts/database.deploy
94
95
  - lib/deployment/templates/AppDeployment.bat
95
96
  - lib/deployment/templates/DBDeployment.bat
@@ -313,11 +314,13 @@ files:
313
314
  - lib/lib/NUnit/tests/timing-tests.dll
314
315
  - lib/NDepend.xml
315
316
  - lib/open.bat
317
+ - lib/open.sh
316
318
  - lib/settings/LOCAL.settings
317
319
  - lib/settings/SettingsFileReadMe.txt
318
320
  - lib/settings/UppercuT.config
319
321
  - lib/test.bat
320
322
  - lib/zip.bat
323
+ - lib/zip.sh
321
324
  - docs/ConfigBuilder.doc
322
325
  - docs/CREDITS
323
326
  - docs/CustomTasks.doc