rake-dotnet 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +9 -0
- data/README.txt +8 -2
- data/Rakefile +5 -1
- data/lib/rake_dotnet.rb +9 -4
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
=== 0.0.3 / 2009-03-30
|
2
|
+
|
3
|
+
* Bugfix release
|
4
|
+
|
5
|
+
* SevenZip now uses the 7za command-line archiver by default.
|
6
|
+
* Can now pass in VERBOSE=true to listen to cp/mv logging-to-console on file operations.
|
7
|
+
* Correctly package web-applications now.
|
8
|
+
* Copy, don't move, when packaging.
|
9
|
+
|
1
10
|
=== 0.0.2 / 2009-03-21
|
2
11
|
|
3
12
|
* Several major enhancements
|
data/README.txt
CHANGED
@@ -29,21 +29,27 @@ Rake dotnet is a bunch of things that aim at doing the work of creating a featur
|
|
29
29
|
|
30
30
|
(In no particular order)
|
31
31
|
* rdoc documentation to supplement blog'd about
|
32
|
+
* unit-tests
|
32
33
|
* Support other test-runners - nunit, mbunit, gallio
|
34
|
+
* unit-tests!
|
33
35
|
* Support code-coverage runner(s) - ncover 1.68, ncover 3, partcover
|
36
|
+
* unit-tests!!
|
34
37
|
* Support clone-detective...?
|
38
|
+
* unit-tests!!!
|
35
39
|
* Support other source-controls to get build version number - git, mercurial, cvs(?), TFS
|
40
|
+
* unit-tests!!!!
|
36
41
|
* Support changing the conventions to allow users to specify their own source structure
|
42
|
+
* unit-tests
|
37
43
|
* Provide an InstallPad for the 3rdparty bits
|
38
44
|
|
39
45
|
== REQUIREMENTS:
|
40
46
|
|
41
|
-
* ruby 1.8.
|
47
|
+
* ruby 1.8.6+
|
42
48
|
* rake 0.8.3+
|
43
49
|
|
44
50
|
== INSTALL:
|
45
51
|
|
46
|
-
* sudo gem install
|
52
|
+
* sudo gem install rake-dotnet
|
47
53
|
|
48
54
|
== LICENSE:
|
49
55
|
|
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ require 'hoe'
|
|
5
5
|
require 'Pathname'
|
6
6
|
require 'rake/clean'
|
7
7
|
|
8
|
-
Hoe.new('rake-dotnet', '0.0.
|
8
|
+
Hoe.new('rake-dotnet', '0.0.3') do |p|
|
9
9
|
p.author = 'Peter Mounce'
|
10
10
|
p.description = 'Making a .NET build-automation dev\'s life easier, one angle-bracket at a time'
|
11
11
|
p.email = 'pete@neverrunwithscissors.com'
|
@@ -37,4 +37,8 @@ task :check_manifest => generated_library
|
|
37
37
|
|
38
38
|
task :test => generated_library
|
39
39
|
|
40
|
+
task :uninstall_gem do
|
41
|
+
sh "gem uninstall rake-dotnet"
|
42
|
+
end
|
43
|
+
|
40
44
|
# vim: syntax=Ruby
|
data/lib/rake_dotnet.rb
CHANGED
@@ -73,6 +73,9 @@ CLEAN.include("#{SRC_DIR}/**/bin")
|
|
73
73
|
CLEAN.include("#{SRC_DIR}/**/AssemblyInfo.cs")
|
74
74
|
CLOBBER.include(OUT_DIR)
|
75
75
|
|
76
|
+
VERBOSE = ENV['VERBOSE'] ? ENV['VERBOSE'] : false
|
77
|
+
verbose(VERBOSE)
|
78
|
+
|
76
79
|
|
77
80
|
module Rake
|
78
81
|
class AssemblyInfoTask < Rake::TaskLib
|
@@ -656,14 +659,14 @@ module Rake
|
|
656
659
|
@targets.each do |t|
|
657
660
|
f = Pathname.new(t)
|
658
661
|
if f.directory?
|
659
|
-
|
662
|
+
cp_r f, pkg_root
|
660
663
|
else
|
661
|
-
|
664
|
+
cp f, pkg_root
|
662
665
|
end
|
663
666
|
end
|
664
667
|
snipped = pkg_root.sub(pkg + '/', '')
|
665
668
|
chdir pkg do
|
666
|
-
sz = SevenZip.new('../../'+package_file, snipped, {:sevenzip=>File.join('..','..',TOOLS_DIR, '7zip', '
|
669
|
+
sz = SevenZip.new('../../'+package_file, snipped, {:sevenzip=>File.join('..','..',TOOLS_DIR, '7zip', 'x86', '7za.exe')})
|
667
670
|
sz.run_add
|
668
671
|
end
|
669
672
|
end
|
@@ -695,7 +698,9 @@ end
|
|
695
698
|
|
696
699
|
class SevenZip
|
697
700
|
def initialize(archive_name, file_names, opts={})
|
698
|
-
|
701
|
+
arch = ENV['PROCESSOR_ARCHITECTURE'] || 'AMD64'
|
702
|
+
bin = arch == 'x86' ? '7za.exe' : '7z.exe'
|
703
|
+
@exe = opts[:sevenzip] || File.join(TOOLS_DIR, '7zip', arch, bin)
|
699
704
|
@archive_name = archive_name
|
700
705
|
@file_names = file_names
|
701
706
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake-dotnet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter MouncePeter Mounce
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-03-
|
12
|
+
date: 2009-03-30 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|