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.
- data/docs/README +7 -2
- data/lib/build.sh +23 -0
- data/lib/build/UppercuT.xml +1 -1
- data/lib/build/analyze.step +78 -77
- data/lib/build/analyzers/gallio.test.step +25 -26
- data/lib/build/analyzers/mbunit2.test.step +25 -28
- data/lib/build/analyzers/moma.step +29 -31
- data/lib/build/analyzers/ncover.step +32 -34
- data/lib/build/analyzers/ndepend.step +19 -12
- data/lib/build/analyzers/nitriq.step +19 -22
- data/lib/build/analyzers/nunit.test.step +37 -37
- data/lib/build/analyzers/test.step +99 -98
- data/lib/build/compile.step +68 -50
- data/lib/build/customize.build +76 -75
- data/lib/build/customizers/item.template +50 -49
- data/lib/build/default.build +171 -167
- data/lib/build/deploymentBuilder.step +103 -102
- data/lib/build/environmentBuilder.step +119 -118
- data/lib/build/gemsBuild.step +113 -112
- data/lib/build/gemsPrepare.step +157 -156
- data/lib/build/generateBuildInfo.step +108 -105
- data/lib/build/ilmerge.build +183 -182
- data/lib/build/open.build +115 -102
- data/lib/build/package.step +234 -233
- data/lib/build/policyChecks.step +81 -80
- data/lib/build/updateAssemblies.build +107 -106
- data/lib/build/uppercut.dll +0 -0
- data/lib/build/uppercut.tasks.dll +0 -0
- data/lib/build/versionBuilder.step +149 -147
- data/lib/build/versioners/git.step +106 -105
- data/lib/build/versioners/hg.step +106 -105
- data/lib/build/versioners/svn.step +112 -111
- data/lib/build/versioners/tfs.step +104 -103
- data/lib/build/zip.build +134 -162
- data/lib/deployment/scripts/database.deploy +37 -36
- data/lib/open.sh +7 -0
- data/lib/settings/UppercuT.config +76 -73
- data/lib/zip.sh +9 -0
- 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="
|
7
|
-
<property name="
|
8
|
-
<property name="
|
9
|
-
<property name="
|
10
|
-
<property name="
|
11
|
-
<property name="
|
12
|
-
<property name="database
|
13
|
-
<property name="
|
14
|
-
<property name="
|
15
|
-
<property name="
|
16
|
-
<property name="
|
17
|
-
<property name="
|
18
|
-
<property name="restore
|
19
|
-
<property name="restore.from.path
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
<
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
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>
|
data/lib/open.sh
ADDED
@@ -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
|
-
<!--
|
37
|
-
<property name="
|
38
|
-
|
39
|
-
|
40
|
-
<property name="
|
41
|
-
|
42
|
-
<property name="
|
43
|
-
<property name="
|
44
|
-
|
45
|
-
|
46
|
-
<property name="
|
47
|
-
|
48
|
-
<!--
|
49
|
-
<property name="
|
50
|
-
<property name="
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
<property name="
|
57
|
-
|
58
|
-
<!--
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
<property name="app.
|
67
|
-
<property name="app.ncover
|
68
|
-
<property name="app.
|
69
|
-
<property name="app.
|
70
|
-
<property name="app.
|
71
|
-
<property name="
|
72
|
-
<property name="
|
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>
|
data/lib/zip.sh
ADDED
@@ -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:
|
4
|
+
hash: 40201491
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
|
+
- 1
|
7
8
|
- 0
|
8
|
-
- 9
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
-
|
12
|
-
version: 0.
|
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-
|
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
|