rake-dotnet 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt ADDED
@@ -0,0 +1,6 @@
1
+ === 0.0.1 / 2009-03-09
2
+
3
+ * 1 major enhancement
4
+
5
+ * Birthday!
6
+
data/Manifest.txt ADDED
@@ -0,0 +1,7 @@
1
+ History.txt
2
+ Manifest.txt
3
+ README.txt
4
+ Rakefile
5
+ bin/rake_dotnet
6
+ lib/rake_dotnet.rb
7
+ test/test_rake_dotnet.rb
data/README.txt ADDED
@@ -0,0 +1,70 @@
1
+ = rakedotnet
2
+
3
+ * http://blog.neverrunwithscissors.com/tag/rake
4
+
5
+ == DESCRIPTION:
6
+
7
+ Rake dotnet is a library of custom tasks designed to (try to!) make your life as a build-automation author easier.
8
+
9
+ When have you ever heard of a build-script called anything other than a script? msbuild and nant both try to get you to call them projects. I'll say it up front - the idea of using XML to declaratively define the sequence of hoops one gets the computer to jump through to turn source into packaged software never sat right with me. I looked for something better one day, and found rake. I haven't touched msbuild or nant since, and I've been happier ;-)
10
+
11
+ Rake dotnet is a bunch of things that aim at doing the work of creating a featureful build-script, so you don't have to. RDN likes convention-over-configuration. RDN tries to keep the Rakefile (the part YOU have to get involved with) short, because that means you can get on with the business of making software that YOU care about. RDN is designed to try to waste as little of your time as possible (and I'd like to know whether I succeeded, or failed, please ;-) ).
12
+
13
+ == FEATURES/PROBLEMS:
14
+
15
+ * Generate AssemblyInfo.cs file(s) for watermarking assemblies with:
16
+ * major.minor.build.svn-revision version number
17
+ * product-name
18
+ * company-name
19
+ * build configuration
20
+ * Build the project files to produce said DLLs (call msbuild against the project file(s))
21
+ * Run XUnit.NET unit tests against said DLLs, and output reports (wrap xunit.console.exe)
22
+ * Run FxCop against said DLLs, and output reports (wrap fxcopcmd.exe)
23
+ * Harvest build output
24
+ * Package build output as a zip file, naming it like {product-name}-{configuration}-v{version}.zip
25
+
26
+ == ROADMAP:
27
+
28
+ (In no particular order)
29
+ * rdoc documentation to supplement blog'd about
30
+ * Support other test-runners - nunit, mbunit, gallio
31
+ * Change harvest/package to take file-glob include/exclude parameters (as rake's PackageTask) - allow more flexible building of packages
32
+ * Support code-coverage runner(s) - ncover 1.68, ncover 3, partcover
33
+ * Support clone-detective...?
34
+ * Support other source-controls to get build version number - git, mercurial, cvs(?), TFS
35
+ * Support 7z compression for packaging to eliminate cygwin dependency (7zip is easier/cleaner to get & maintain)
36
+ * Support changing the conventions to allow users to specify their own source structure
37
+
38
+ == REQUIREMENTS:
39
+
40
+ * ruby 1.8.x
41
+ * rake 0.8.3+
42
+
43
+ == INSTALL:
44
+
45
+ * sudo gem install rakedotnet
46
+
47
+ == LICENSE:
48
+
49
+ (The MIT License)
50
+
51
+ Copyright (c) 2009 Peter Mounce
52
+
53
+ Permission is hereby granted, free of charge, to any person obtaining
54
+ a copy of this software and associated documentation files (the
55
+ 'Software'), to deal in the Software without restriction, including
56
+ without limitation the rights to use, copy, modify, merge, publish,
57
+ distribute, sublicense, and/or sell copies of the Software, and to
58
+ permit persons to whom the Software is furnished to do so, subject to
59
+ the following conditions:
60
+
61
+ The above copyright notice and this permission notice shall be
62
+ included in all copies or substantial portions of the Software.
63
+
64
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
65
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
66
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
67
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
68
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
69
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
70
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,19 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'hoe'
5
+ require './lib/rake_dotnet.rb'
6
+
7
+ Hoe.new('rake-dotnet', Rake_dotnet::VERSION) do |p|
8
+ p.author = 'Peter Mounce'
9
+ p.description = 'Making a .NET build-automation dev\'s life easier, one angle-bracket at a time'
10
+ p.email = 'pete@neverrunwithscissors.com'
11
+ p.summary = 'Build automation for .NET builds'
12
+ p.rubyforge_name = 'rake-dotnet' # if different than lowercase project name
13
+ p.developer('Peter Mounce', 'pete@neverrunwithscissors.com')
14
+ p.remote_rdoc_dir = ''
15
+ p.extra_deps = ['rake']
16
+ end
17
+
18
+
19
+ # vim: syntax=Ruby
data/bin/rake_dotnet ADDED
File without changes
@@ -0,0 +1,3 @@
1
+ class Rake_dotnet
2
+ VERSION = '0.0.1'
3
+ end
File without changes
metadata ADDED
@@ -0,0 +1,81 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rake-dotnet
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Peter MouncePeter Mounce
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-03-09 00:00:00 +00:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rake
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: hoe
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.9.0
34
+ version:
35
+ description: Making a .NET build-automation dev's life easier, one angle-bracket at a time
36
+ email: pete@neverrunwithscissors.compete@neverrunwithscissors.com
37
+ executables:
38
+ - rake_dotnet
39
+ extensions: []
40
+
41
+ extra_rdoc_files:
42
+ - History.txt
43
+ - Manifest.txt
44
+ - README.txt
45
+ files:
46
+ - History.txt
47
+ - Manifest.txt
48
+ - README.txt
49
+ - Rakefile
50
+ - bin/rake_dotnet
51
+ - lib/rake_dotnet.rb
52
+ - test/test_rake_dotnet.rb
53
+ has_rdoc: true
54
+ homepage: http://blog.neverrunwithscissors.com/tag/rake
55
+ post_install_message:
56
+ rdoc_options:
57
+ - --main
58
+ - README.txt
59
+ require_paths:
60
+ - lib
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: "0"
66
+ version:
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: "0"
72
+ version:
73
+ requirements: []
74
+
75
+ rubyforge_project: rake-dotnet
76
+ rubygems_version: 1.3.1
77
+ signing_key:
78
+ specification_version: 2
79
+ summary: Build automation for .NET builds
80
+ test_files:
81
+ - test/test_rake_dotnet.rb