iron_hammer 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +21 -17
- data/Rakefile +2 -2
- data/lib/iron_hammer.rb +0 -2
- data/lib/iron_hammer/hammer.rb +1 -0
- data/lib/iron_hammer/tasks.rb +1 -1
- metadata +5 -5
data/README.rdoc
CHANGED
@@ -4,35 +4,39 @@
|
|
4
4
|
|
5
5
|
== DESCRIPTION:
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
# Anvil
|
10
|
-
Parse the contents of a directory, loading information about projects and solutions contained there
|
11
|
-
|
12
|
-
# Hammer
|
13
|
-
Provides command lines for building and running tests
|
14
|
-
|
15
|
-
# Blacksmith
|
16
|
-
The "intelligent" part of the mix, provides a DSL for utilizing the tools described above.
|
17
|
-
|
18
|
-
---
|
19
|
-
I might add more components to the mix if deemed necessary, like something to take care of the deployment process
|
7
|
+
Iron Hammer gathers together three components to help automate the build, test and deployment process of C# projects: an Anvil, a Hammer and a Blacksmith.
|
20
8
|
|
21
9
|
== FEATURES/PROBLEMS:
|
22
10
|
|
23
|
-
|
11
|
+
# Anvil
|
12
|
+
Parse the contents of a directory, loading information about projects and solutions contained there
|
13
|
+
|
14
|
+
# Hammer
|
15
|
+
Provides command lines for building and running tests
|
16
|
+
|
17
|
+
# Blacksmith
|
18
|
+
Not implemented yet
|
24
19
|
|
25
20
|
== SYNOPSIS:
|
26
21
|
|
27
|
-
|
22
|
+
# Reading the solution file information from the current directory
|
23
|
+
a = Anvil.load_solution_from '.'
|
24
|
+
# Reading the project information based on the solution read before
|
25
|
+
a.load_projects_from_solution
|
26
|
+
# Initializing a new Hammer
|
27
|
+
h = Hammer.new
|
28
|
+
# Getting the command line for building a solution
|
29
|
+
h.build a.solution
|
30
|
+
# Getting the command line for running multiple tests
|
31
|
+
h.test a.test_projects
|
28
32
|
|
29
33
|
== REQUIREMENTS:
|
30
34
|
|
31
|
-
|
35
|
+
rubyzip2 (>= 2.0.1)
|
32
36
|
|
33
37
|
== INSTALL:
|
34
38
|
|
35
|
-
|
39
|
+
gem install iron_hammer
|
36
40
|
|
37
41
|
== LICENSE:
|
38
42
|
|
data/Rakefile
CHANGED
@@ -10,8 +10,8 @@ $hoe = Hoe.spec 'iron_hammer' do
|
|
10
10
|
self.developer 'Mozair Alves do Carmo Junior', 'macskeptic@gmail.com'
|
11
11
|
self.post_install_message = File.read('PostInstall.txt')
|
12
12
|
self.rubyforge_name = self.name
|
13
|
-
self.extra_deps = [['rubyzip2','>= 0.
|
14
|
-
self.version = '0.3.
|
13
|
+
self.extra_deps = [['rubyzip2','>= 2.0.1']]
|
14
|
+
self.version = '0.3.3'
|
15
15
|
end
|
16
16
|
|
17
17
|
require 'newgem/tasks'
|
data/lib/iron_hammer.rb
CHANGED
data/lib/iron_hammer/hammer.rb
CHANGED
@@ -28,6 +28,7 @@ module IronHammer
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def test *projects
|
31
|
+
return if projects.nil? || projects.empty?
|
31
32
|
containers = projects.collect{|project| "/testcontainer:#{project.container @configuration}"}
|
32
33
|
results = projects.first.results_file
|
33
34
|
mstest = @dot_net_environment.mstest
|
data/lib/iron_hammer/tasks.rb
CHANGED
@@ -8,7 +8,7 @@ namespace :iron do
|
|
8
8
|
task :initialize do
|
9
9
|
@anvil = Anvil.load_solution_from '.'
|
10
10
|
@anvil.load_projects_from_solution
|
11
|
-
@hammer = Hammer.new :visual_studio_path => VISUAL_STUDIO_PATH
|
11
|
+
@hammer = Hammer.new(defined?(VISUAL_STUDIO_PATH) ? {:visual_studio_path => VISUAL_STUDIO_PATH} : {})
|
12
12
|
FileUtils.mkdir 'TestResults' unless (File.exists?('TestResults') && File.directory?('TestResults'))
|
13
13
|
end
|
14
14
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iron_hammer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mozair Alves do Carmo Junior
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-23 00:00:00 -02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.
|
23
|
+
version: 2.0.1
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rubyforge
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 2.5.0
|
54
54
|
version:
|
55
|
-
description: "
|
55
|
+
description: "Iron Hammer gathers together three components to help automate the build, test and deployment process of C# projects: an Anvil, a Hammer and a Blacksmith."
|
56
56
|
email:
|
57
57
|
- macskeptic@gmail.com
|
58
58
|
executables: []
|
@@ -122,6 +122,6 @@ rubyforge_project: iron_hammer
|
|
122
122
|
rubygems_version: 1.3.5
|
123
123
|
signing_key:
|
124
124
|
specification_version: 3
|
125
|
-
summary: "
|
125
|
+
summary: "Iron Hammer gathers together three components to help automate the build, test and deployment process of C# projects: an Anvil, a Hammer and a Blacksmith."
|
126
126
|
test_files: []
|
127
127
|
|