uppercutbuild 0.9.0.331 → 0.9.0.334
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/uppercut/cli.rb +4 -6
- data/bin/uppercut/config.rb +1 -1
- data/bin/uppercut/loader.rb +5 -6
- data/docs/README +13 -3
- data/lib/build/UppercuT.xml +1 -1
- data/lib/build/analyzers/ncover.step +2 -2
- data/lib/build/uppercut.dll +0 -0
- data/lib/build/uppercut.tasks.dll +0 -0
- data/lib/build/zip.build +1 -0
- metadata +27 -5
data/bin/uppercut/cli.rb
CHANGED
@@ -13,18 +13,16 @@ module Uppercutbuild
|
|
13
13
|
|
14
14
|
desc "install", "installs uppercut build in the current directory"
|
15
15
|
method_options :location => :string
|
16
|
-
|
17
|
-
def install()
|
16
|
+
def install(*names)
|
18
17
|
#@proj.ensure_default_config
|
19
18
|
|
20
19
|
loc = @proj.get_location
|
21
20
|
cl = options['location']
|
22
21
|
loc = cl unless cl.nil?
|
23
22
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
end
|
23
|
+
Uppercutbuild::Loader.load
|
24
|
+
|
25
|
+
end
|
28
26
|
|
29
27
|
def self.source_root
|
30
28
|
File.dirname(__FILE__)
|
data/bin/uppercut/config.rb
CHANGED
data/bin/uppercut/loader.rb
CHANGED
@@ -17,9 +17,11 @@ module Uppercutbuild
|
|
17
17
|
|
18
18
|
def self.get_libdir(name)
|
19
19
|
g = get_gemspec name
|
20
|
-
|
21
|
-
|
22
|
-
l
|
20
|
+
#puts "GemSpec #{g.full_gem_path}"
|
21
|
+
l = g.full_gem_path
|
22
|
+
d = File.join(l,"lib")
|
23
|
+
#puts d
|
24
|
+
d
|
23
25
|
end
|
24
26
|
|
25
27
|
def self.get_gemspec(name)
|
@@ -29,9 +31,6 @@ module Uppercutbuild
|
|
29
31
|
|
30
32
|
def self.get_copy_from
|
31
33
|
libdir = get_libdir @gem_to_copy
|
32
|
-
#puts File.expand_path libdir
|
33
|
-
#try Dir.glob("{bin,lib}/**/*")
|
34
|
-
libdir.gsub '{lib}','lib'
|
35
34
|
end
|
36
35
|
|
37
36
|
def self.get_files
|
data/docs/README
CHANGED
@@ -26,9 +26,15 @@ UppercuT is not a build server, but it integrates nicely with CruiseControl.NET,
|
|
26
26
|
## Getting started with UppercuT
|
27
27
|
### Downloads
|
28
28
|
You can download UppercuT from [http://code.google.com/p/uppercut/downloads/list](http://code.google.com/p/uppercut/downloads/list)
|
29
|
-
|
29
|
+
|
30
30
|
You can also obtain a copy from the build server at [http://teamcity.codebetter.com](http://teamcity.codebetter.com).
|
31
|
-
|
31
|
+
|
32
|
+
### Gems
|
33
|
+
If you have Ruby 1.8.6+ (and Gems 1.3.7+) installed, you can get the current release of UppercuT to your machine the fastest!
|
34
|
+
|
35
|
+
1. Type 'gem install uppercutbuild'
|
36
|
+
2. At the top level directory (trunk or branch name) type 'uppercutbuild install'
|
37
|
+
|
32
38
|
### Source
|
33
39
|
This is the best way to get to the bleeding edge of what we are doing.
|
34
40
|
|
@@ -49,8 +55,12 @@ Donations Accepted - If you enjoy using this product or it has saved you time an
|
|
49
55
|
It helps keep to the product updated, pays for site hosting, etc. https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4410250
|
50
56
|
|
51
57
|
# RELEASE NOTES
|
58
|
+
=0.9.0.334=
|
59
|
+
* Zip will not include the gems folder. (r334)
|
60
|
+
* UppercuT (through gems) can copy UppercuT to a solution directory by issuing 'uppercutbuild install' at the top level directory (trunk or branch name). (r333)
|
61
|
+
|
52
62
|
=0.9.0.328=
|
53
|
-
* Now supports building gems - see http://code.google.com/p/uppercut/issues/detail?id=16 for details (r328)
|
63
|
+
* Now supports building gems - see http://code.google.com/p/uppercut/issues/detail?id=16 for details. (r328)
|
54
64
|
* The version hash for SVN and TFS should just use version.revision. (r321)
|
55
65
|
* General fix - when a step of the build process fails the build, any extensions or custom tasks related to it should also fail the build. (r319)
|
56
66
|
|
data/lib/build/UppercuT.xml
CHANGED
@@ -41,7 +41,7 @@
|
|
41
41
|
<property name="is.replaced" value="false" />
|
42
42
|
<property name="fail.build.on.error" value="false" />
|
43
43
|
|
44
|
-
<target name="go" depends="run_tasks" if="${file::exists(app.ncover)}" />
|
44
|
+
<target name="go" depends="run_tasks" if="${file::exists(app.ncover) and test.framework !='none'}" />
|
45
45
|
|
46
46
|
<target name="run_tasks">
|
47
47
|
<echo message="Running ${project::get-name()} tasks." />
|
@@ -55,7 +55,7 @@
|
|
55
55
|
<target name="run_normal_tasks"
|
56
56
|
depends="get_test_dlls, ncover, ncover_explorer"
|
57
57
|
description="Using NCover to Analyze project for test quality indicators."
|
58
|
-
if="${file::exists(app.ncover)}" />
|
58
|
+
if="${file::exists(app.ncover) and test.framework !='none'}" />
|
59
59
|
|
60
60
|
<target name="custom_tasks_before">
|
61
61
|
<echo message="Running custom tasks if ${file.custom.step.before} exists." />
|
data/lib/build/uppercut.dll
CHANGED
Binary file
|
Binary file
|
data/lib/build/zip.build
CHANGED
metadata
CHANGED
@@ -1,26 +1,48 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uppercutbuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 667
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
version: 0.9.0.
|
10
|
+
- 334
|
11
|
+
version: 0.9.0.334
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Rob "FerventCoder" Reynolds
|
15
|
+
- Dru Sellers
|
15
16
|
autorequire:
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
20
|
date: 2010-07-18 00:00:00 -05:00
|
20
21
|
default_executable:
|
21
|
-
dependencies:
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
name: thor
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
hash: 59
|
32
|
+
segments:
|
33
|
+
- 0
|
34
|
+
- 13
|
35
|
+
- 8
|
36
|
+
version: 0.13.8
|
37
|
+
type: :runtime
|
38
|
+
version_requirements: *id001
|
39
|
+
description: |
|
40
|
+
UppercuT is THE conventional build for .NET!
|
41
|
+
UppercuT seeks to solve both maintenance concerns and ease of build to help you concentrate on what you really want to do: write code. Upgrading the build should take seconds, not hours. And that is where UppercuT will beat any other automated build system hands down.
|
42
|
+
UppercuT uses conventions and has a simple configuration file for you to edit. Getting from zero to build takes literally less than five minutes. If you are still writing your own build scripts, you are working too hard.
|
43
|
+
UppercuT is extremely powerful because it is customizable and extendable. Every step of the build process is customizable with a pre, post and replace hook.
|
44
|
+
UppercuT is not a build server, but it integrates nicely with CruiseControl.NET, TeamCity, Hudson, etc.
|
22
45
|
|
23
|
-
description: UppercuT is THE conventional build for .NET
|
24
46
|
email: chucknorrisframework@googlegroups.com
|
25
47
|
executables:
|
26
48
|
- uppercutbuild
|