rake 11.3.0 → 12.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rake might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.rubocop.yml +51 -12
- data/.travis.yml +2 -9
- data/Gemfile +1 -1
- data/History.rdoc +41 -29
- data/README.rdoc +4 -5
- data/Rakefile +18 -13
- data/appveyor.yml +6 -7
- data/doc/rake.1 +139 -124
- data/doc/rakefile.rdoc +1 -3
- data/exe/rake +1 -1
- data/lib/rake.rb +33 -33
- data/lib/rake/application.rb +68 -67
- data/lib/rake/backtrace.rb +2 -2
- data/lib/rake/clean.rb +4 -3
- data/lib/rake/cpu_counter.rb +1 -1
- data/lib/rake/dsl_definition.rb +1 -1
- data/lib/rake/ext/string.rb +21 -21
- data/lib/rake/file_creation_task.rb +2 -2
- data/lib/rake/file_list.rb +8 -10
- data/lib/rake/file_task.rb +2 -2
- data/lib/rake/file_utils.rb +7 -10
- data/lib/rake/file_utils_ext.rb +3 -3
- data/lib/rake/late_time.rb +1 -1
- data/lib/rake/loaders/makefile.rb +4 -4
- data/lib/rake/multi_task.rb +36 -0
- data/lib/rake/name_space.rb +0 -1
- data/lib/rake/packagetask.rb +10 -10
- data/lib/rake/phony.rb +1 -1
- data/lib/rake/promise.rb +10 -10
- data/lib/rake/rake_module.rb +1 -1
- data/lib/rake/rake_test_loader.rb +1 -1
- data/lib/rake/rule_recursion_overflow_error.rb +1 -1
- data/lib/rake/scope.rb +1 -1
- data/lib/rake/task.rb +13 -14
- data/lib/rake/task_arguments.rb +8 -4
- data/lib/rake/task_manager.rb +5 -18
- data/lib/rake/tasklib.rb +1 -1
- data/lib/rake/testtask.rb +26 -16
- data/lib/rake/thread_history_display.rb +3 -3
- data/lib/rake/thread_pool.rb +14 -14
- data/lib/rake/version.rb +2 -2
- data/lib/rake/win32.rb +8 -8
- data/rake.gemspec +15 -6
- metadata +20 -68
- data/doc/release_notes/README.md +0 -4
- data/doc/release_notes/rake-0.4.14.rdoc +0 -23
- data/doc/release_notes/rake-0.4.15.rdoc +0 -35
- data/doc/release_notes/rake-0.5.0.rdoc +0 -53
- data/doc/release_notes/rake-0.5.3.rdoc +0 -78
- data/doc/release_notes/rake-0.5.4.rdoc +0 -46
- data/doc/release_notes/rake-0.6.0.rdoc +0 -141
- data/doc/release_notes/rake-0.7.0.rdoc +0 -119
- data/doc/release_notes/rake-0.7.1.rdoc +0 -59
- data/doc/release_notes/rake-0.7.2.rdoc +0 -121
- data/doc/release_notes/rake-0.7.3.rdoc +0 -47
- data/doc/release_notes/rake-0.8.0.rdoc +0 -114
- data/doc/release_notes/rake-0.8.2.rdoc +0 -165
- data/doc/release_notes/rake-0.8.3.rdoc +0 -112
- data/doc/release_notes/rake-0.8.4.rdoc +0 -147
- data/doc/release_notes/rake-0.8.5.rdoc +0 -53
- data/doc/release_notes/rake-0.8.6.rdoc +0 -37
- data/doc/release_notes/rake-0.8.7.rdoc +0 -55
- data/doc/release_notes/rake-0.9.0.rdoc +0 -112
- data/doc/release_notes/rake-0.9.1.rdoc +0 -52
- data/doc/release_notes/rake-0.9.2.2.rdoc +0 -55
- data/doc/release_notes/rake-0.9.2.rdoc +0 -49
- data/doc/release_notes/rake-0.9.3.rdoc +0 -102
- data/doc/release_notes/rake-0.9.4.rdoc +0 -60
- data/doc/release_notes/rake-0.9.5.rdoc +0 -55
- data/doc/release_notes/rake-0.9.6.rdoc +0 -64
- data/doc/release_notes/rake-10.0.0.rdoc +0 -178
- data/doc/release_notes/rake-10.0.1.rdoc +0 -58
- data/doc/release_notes/rake-10.0.2.rdoc +0 -53
- data/doc/release_notes/rake-10.0.3.rdoc +0 -191
- data/doc/release_notes/rake-10.1.0.rdoc +0 -61
- data/lib/rake/contrib/compositepublisher.rb +0 -21
- data/lib/rake/contrib/ftptools.rb +0 -137
- data/lib/rake/contrib/sshpublisher.rb +0 -60
- data/lib/rake/ext/pathname.rb +0 -25
data/lib/rake/version.rb
CHANGED
data/lib/rake/win32.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require "rbconfig"
|
2
2
|
|
3
3
|
module Rake
|
4
4
|
# Win 32 interface methods for Rake. Windows specific functionality
|
@@ -27,22 +27,22 @@ module Rake
|
|
27
27
|
#
|
28
28
|
# If the above are not defined, the return nil.
|
29
29
|
def win32_system_dir #:nodoc:
|
30
|
-
win32_shared_path = ENV[
|
31
|
-
if win32_shared_path.nil? && ENV[
|
32
|
-
win32_shared_path = ENV[
|
30
|
+
win32_shared_path = ENV["HOME"]
|
31
|
+
if win32_shared_path.nil? && ENV["HOMEDRIVE"] && ENV["HOMEPATH"]
|
32
|
+
win32_shared_path = ENV["HOMEDRIVE"] + ENV["HOMEPATH"]
|
33
33
|
end
|
34
34
|
|
35
|
-
win32_shared_path ||= ENV[
|
36
|
-
win32_shared_path ||= ENV[
|
35
|
+
win32_shared_path ||= ENV["APPDATA"]
|
36
|
+
win32_shared_path ||= ENV["USERPROFILE"]
|
37
37
|
raise Win32HomeError,
|
38
38
|
"Unable to determine home path environment variable." if
|
39
39
|
win32_shared_path.nil? or win32_shared_path.empty?
|
40
|
-
normalize(File.join(win32_shared_path,
|
40
|
+
normalize(File.join(win32_shared_path, "Rake"))
|
41
41
|
end
|
42
42
|
|
43
43
|
# Normalize a win32 path so that the slashes are all forward slashes.
|
44
44
|
def normalize(path)
|
45
|
-
path.gsub(/\\/,
|
45
|
+
path.gsub(/\\/, "/")
|
46
46
|
end
|
47
47
|
|
48
48
|
end
|
data/rake.gemspec
CHANGED
@@ -1,16 +1,25 @@
|
|
1
|
-
# coding: utf-8
|
2
1
|
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
3
2
|
require 'rake/version'
|
4
3
|
|
5
4
|
Gem::Specification.new do |s|
|
6
5
|
s.name = "rake".freeze
|
7
6
|
s.version = Rake::VERSION
|
8
|
-
s.date = "2016-
|
7
|
+
s.date = "2016-06-12"
|
9
8
|
s.authors = ["Hiroshi SHIBATA".freeze, "Eric Hodel".freeze, "Jim Weirich".freeze]
|
10
9
|
s.email = ["hsbt@ruby-lang.org".freeze, "drbrain@segment7.net".freeze, "".freeze]
|
11
10
|
|
12
11
|
s.summary = "Rake is a Make-like program implemented in Ruby".freeze
|
13
|
-
s.description =
|
12
|
+
s.description = <<-DESCRIPTION
|
13
|
+
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
|
14
|
+
specified in standard Ruby syntax.
|
15
|
+
Rake has the following features:
|
16
|
+
* Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax.
|
17
|
+
No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?)
|
18
|
+
* Users can specify tasks with prerequisites.
|
19
|
+
* Rake supports rule patterns to synthesize implicit tasks.
|
20
|
+
* Flexible FileLists that act like arrays but know about manipulating file names and paths.
|
21
|
+
* Supports parallel execution of tasks.
|
22
|
+
DESCRIPTION
|
14
23
|
s.homepage = "https://github.com/ruby/rake".freeze
|
15
24
|
s.licenses = ["MIT".freeze]
|
16
25
|
|
@@ -24,7 +33,7 @@ Gem::Specification.new do |s|
|
|
24
33
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.2".freeze)
|
25
34
|
s.rdoc_options = ["--main".freeze, "README.rdoc".freeze]
|
26
35
|
|
27
|
-
s.add_development_dependency(%q<bundler>.freeze
|
28
|
-
s.add_development_dependency(%q<minitest>.freeze
|
29
|
-
s.add_development_dependency(%q<rdoc>.freeze, ["~>
|
36
|
+
s.add_development_dependency(%q<bundler>.freeze)
|
37
|
+
s.add_development_dependency(%q<minitest>.freeze)
|
38
|
+
s.add_development_dependency(%q<rdoc>.freeze, ["~> 5.0.0.beta2"])
|
30
39
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 12.0.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroshi SHIBATA
|
@@ -10,73 +10,60 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-06-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- - "
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
21
|
+
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- - "
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '
|
28
|
+
version: '0'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: minitest
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- - "
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
35
|
+
version: '0'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - "
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '0'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rdoc
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
49
|
+
version: 5.0.0.beta2
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
57
|
-
description:
|
56
|
+
version: 5.0.0.beta2
|
57
|
+
description: |
|
58
58
|
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
|
59
59
|
specified in standard Ruby syntax.
|
60
|
-
|
61
60
|
Rake has the following features:
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
* Rake supports rule patterns to synthesize implicit tasks.
|
70
|
-
|
71
|
-
* Flexible FileLists that act like arrays but know about manipulating
|
72
|
-
file names and paths.
|
73
|
-
|
74
|
-
* A library of prepackaged tasks to make building rakefiles easier. For example,
|
75
|
-
tasks for building tarballs and publishing to FTP or SSH sites. (Formerly
|
76
|
-
tasks for building RDoc and Gems were included in rake but they're now
|
77
|
-
available in RDoc and RubyGems respectively.)
|
78
|
-
|
79
|
-
* Supports parallel execution of tasks.
|
61
|
+
* Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax.
|
62
|
+
No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?)
|
63
|
+
* Users can specify tasks with prerequisites.
|
64
|
+
* Rake supports rule patterns to synthesize implicit tasks.
|
65
|
+
* Flexible FileLists that act like arrays but know about manipulating file names and paths.
|
66
|
+
* Supports parallel execution of tasks.
|
80
67
|
email:
|
81
68
|
- hsbt@ruby-lang.org
|
82
69
|
- drbrain@segment7.net
|
@@ -110,52 +97,17 @@ files:
|
|
110
97
|
- doc/rake.1
|
111
98
|
- doc/rakefile.rdoc
|
112
99
|
- doc/rational.rdoc
|
113
|
-
- doc/release_notes/README.md
|
114
|
-
- doc/release_notes/rake-0.4.14.rdoc
|
115
|
-
- doc/release_notes/rake-0.4.15.rdoc
|
116
|
-
- doc/release_notes/rake-0.5.0.rdoc
|
117
|
-
- doc/release_notes/rake-0.5.3.rdoc
|
118
|
-
- doc/release_notes/rake-0.5.4.rdoc
|
119
|
-
- doc/release_notes/rake-0.6.0.rdoc
|
120
|
-
- doc/release_notes/rake-0.7.0.rdoc
|
121
|
-
- doc/release_notes/rake-0.7.1.rdoc
|
122
|
-
- doc/release_notes/rake-0.7.2.rdoc
|
123
|
-
- doc/release_notes/rake-0.7.3.rdoc
|
124
|
-
- doc/release_notes/rake-0.8.0.rdoc
|
125
|
-
- doc/release_notes/rake-0.8.2.rdoc
|
126
|
-
- doc/release_notes/rake-0.8.3.rdoc
|
127
|
-
- doc/release_notes/rake-0.8.4.rdoc
|
128
|
-
- doc/release_notes/rake-0.8.5.rdoc
|
129
|
-
- doc/release_notes/rake-0.8.6.rdoc
|
130
|
-
- doc/release_notes/rake-0.8.7.rdoc
|
131
|
-
- doc/release_notes/rake-0.9.0.rdoc
|
132
|
-
- doc/release_notes/rake-0.9.1.rdoc
|
133
|
-
- doc/release_notes/rake-0.9.2.2.rdoc
|
134
|
-
- doc/release_notes/rake-0.9.2.rdoc
|
135
|
-
- doc/release_notes/rake-0.9.3.rdoc
|
136
|
-
- doc/release_notes/rake-0.9.4.rdoc
|
137
|
-
- doc/release_notes/rake-0.9.5.rdoc
|
138
|
-
- doc/release_notes/rake-0.9.6.rdoc
|
139
|
-
- doc/release_notes/rake-10.0.0.rdoc
|
140
|
-
- doc/release_notes/rake-10.0.1.rdoc
|
141
|
-
- doc/release_notes/rake-10.0.2.rdoc
|
142
|
-
- doc/release_notes/rake-10.0.3.rdoc
|
143
|
-
- doc/release_notes/rake-10.1.0.rdoc
|
144
100
|
- exe/rake
|
145
101
|
- lib/rake.rb
|
146
102
|
- lib/rake/application.rb
|
147
103
|
- lib/rake/backtrace.rb
|
148
104
|
- lib/rake/clean.rb
|
149
105
|
- lib/rake/cloneable.rb
|
150
|
-
- lib/rake/contrib/compositepublisher.rb
|
151
|
-
- lib/rake/contrib/ftptools.rb
|
152
|
-
- lib/rake/contrib/sshpublisher.rb
|
153
106
|
- lib/rake/cpu_counter.rb
|
154
107
|
- lib/rake/default_loader.rb
|
155
108
|
- lib/rake/dsl_definition.rb
|
156
109
|
- lib/rake/early_time.rb
|
157
110
|
- lib/rake/ext/core.rb
|
158
|
-
- lib/rake/ext/pathname.rb
|
159
111
|
- lib/rake/ext/string.rb
|
160
112
|
- lib/rake/file_creation_task.rb
|
161
113
|
- lib/rake/file_list.rb
|
@@ -212,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
212
164
|
version: 1.3.2
|
213
165
|
requirements: []
|
214
166
|
rubyforge_project:
|
215
|
-
rubygems_version: 2.6.
|
167
|
+
rubygems_version: 2.6.8
|
216
168
|
signing_key:
|
217
169
|
specification_version: 4
|
218
170
|
summary: Rake is a Make-like program implemented in Ruby
|
data/doc/release_notes/README.md
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
= Rake 0.4.14 Released
|
2
|
-
|
3
|
-
== Changes
|
4
|
-
|
5
|
-
Version 0.4.14 is a compatibility fix to allow Rake's test task to
|
6
|
-
work under Ruby 1.8.2. A change in the Test::Unit autorun feature
|
7
|
-
prevented Rake from running any tests. This release fixes the
|
8
|
-
problem.
|
9
|
-
|
10
|
-
Rake 0.4.14 is the recommended release for anyone using Ruby 1.8.2.
|
11
|
-
|
12
|
-
== What is Rake
|
13
|
-
|
14
|
-
Rake is a build tool similar to the make program in many ways. But
|
15
|
-
instead of cryptic make recipes, Rake uses standard Ruby code to
|
16
|
-
declare tasks and dependencies. You have the full power of a modern
|
17
|
-
scripting language built right into your build tool.
|
18
|
-
|
19
|
-
== Availability
|
20
|
-
|
21
|
-
Home Page:: http://rake.rubyforge.org/
|
22
|
-
Download:: http://rubyforge.org/project/showfiles.php?group_id=50
|
23
|
-
|
@@ -1,35 +0,0 @@
|
|
1
|
-
= Rake 0.4.15 Released
|
2
|
-
|
3
|
-
== Changes
|
4
|
-
|
5
|
-
Version 0.4.15 is a bug fix update for the Ruby 1.8.2 compatibility
|
6
|
-
changes. This release includes:
|
7
|
-
|
8
|
-
* Fixed a bug that prevented the TESTOPTS flag from working with the
|
9
|
-
revised for 1.8.2 test task.
|
10
|
-
|
11
|
-
* Updated the docs on --trace to indicate that it also enables a full
|
12
|
-
backtrace on errors.
|
13
|
-
|
14
|
-
* Several fixes for new warnings generated.
|
15
|
-
|
16
|
-
== Mini-Roadmap
|
17
|
-
|
18
|
-
I will continue to issue Rake updates in the 0.4.xx series as new
|
19
|
-
Ruby-1.8.2 issues become manifest. Once the codebase stabilizes, I
|
20
|
-
will release a 0.5.0 version incorporating all the changes. If you
|
21
|
-
are not using Ruby-1.8.2 and wish to avoid version churn, I recommend
|
22
|
-
staying with a release prior to Rake-0.4.14.
|
23
|
-
|
24
|
-
== What is Rake
|
25
|
-
|
26
|
-
Rake is a build tool similar to the make program in many ways. But
|
27
|
-
instead of cryptic make recipes, Rake uses standard Ruby code to
|
28
|
-
declare tasks and dependencies. You have the full power of a modern
|
29
|
-
scripting language built right into your build tool.
|
30
|
-
|
31
|
-
== Availability
|
32
|
-
|
33
|
-
Home Page:: http://rake.rubyforge.org/
|
34
|
-
Download:: http://rubyforge.org/project/showfiles.php?group_id=50
|
35
|
-
|
@@ -1,53 +0,0 @@
|
|
1
|
-
= Rake 0.5.0 Released
|
2
|
-
|
3
|
-
It has been a long time in coming, but we finally have a new version
|
4
|
-
of Rake available.
|
5
|
-
|
6
|
-
== Changes
|
7
|
-
|
8
|
-
* Fixed bug where missing intermediate file dependencies could cause
|
9
|
-
an abort with --trace or --dry-run. (Brian Candler)
|
10
|
-
|
11
|
-
* Recursive rules are now supported (Tilman Sauerbeck).
|
12
|
-
|
13
|
-
* Added tar.gz and tar.bz2 support to package task (Tilman Sauerbeck).
|
14
|
-
|
15
|
-
* Added warning option for the Test Task (requested by Eric Hodel).
|
16
|
-
|
17
|
-
* The jamis rdoc template is only used if it exists.
|
18
|
-
|
19
|
-
* Added fix for Ruby 1.8.2 test/unit and rails problem.
|
20
|
-
|
21
|
-
* Added contributed rake man file. (Jani Monoses)
|
22
|
-
|
23
|
-
* Fixed documentation that was lacking the Rake module name (Tilman
|
24
|
-
Sauerbeck).
|
25
|
-
|
26
|
-
== What is Rake
|
27
|
-
|
28
|
-
Rake is a build tool similar to the make program in many ways. But
|
29
|
-
instead of cryptic make recipes, Rake uses standard Ruby code to
|
30
|
-
declare tasks and dependencies. You have the full power of a modern
|
31
|
-
scripting language built right into your build tool.
|
32
|
-
|
33
|
-
== Availability
|
34
|
-
|
35
|
-
The easiest way to get and install rake is via RubyGems ...
|
36
|
-
|
37
|
-
gem install rake (you may need root/admin privileges)
|
38
|
-
|
39
|
-
Otherwise, you can get it from the more traditional places:
|
40
|
-
|
41
|
-
Home Page:: http://rake.rubyforge.org/
|
42
|
-
Download:: http://rubyforge.org/project/showfiles.php?group_id=50
|
43
|
-
|
44
|
-
== Thanks
|
45
|
-
|
46
|
-
Lots of people provided input to this release. Thanks to Tilman
|
47
|
-
Sauerbeck for numerous patches, documentation fixes and suggestions.
|
48
|
-
And for also pushing me to get this release out. Also, thanks to
|
49
|
-
Brian Candler for the finding and fixing --trace/dry-run fix. That
|
50
|
-
was an obscure bug. Also to Eric Hodel for some good suggestions.
|
51
|
-
|
52
|
-
-- Jim Weirich
|
53
|
-
|
@@ -1,78 +0,0 @@
|
|
1
|
-
= Rake 0.5.3 Released
|
2
|
-
|
3
|
-
Although it has only been two weeks since the last release, we have
|
4
|
-
enough updates to the Rake program to make it time for another
|
5
|
-
release.
|
6
|
-
|
7
|
-
== Changes
|
8
|
-
|
9
|
-
Here are the changes for version 0.5.3 ...
|
10
|
-
|
11
|
-
* FileLists have been extensively changed so that they mimic the
|
12
|
-
behavior of real arrays even more closely. In particular,
|
13
|
-
operations on FileLists that return a new collection (e.g. collect,
|
14
|
-
reject) will now return a FileList rather than an array. In
|
15
|
-
addition, several places where FileLists were not properly expanded
|
16
|
-
before use have been fixed.
|
17
|
-
|
18
|
-
* A method (+ext+) to simplify the handling of file extensions was
|
19
|
-
added to String and to Array.
|
20
|
-
|
21
|
-
* The 'testrb' script in test/unit tends to silently swallow syntax
|
22
|
-
errors in test suites. Because of that, the default test loader is
|
23
|
-
now a rake-provided script. You can still use 'testrb' by setting
|
24
|
-
the loader flag in the test task to :testrb. (See the API documents
|
25
|
-
for TestTask for all the loader flag values).
|
26
|
-
|
27
|
-
* FileUtil methods (e.g. cp, mv, install) are now declared to be
|
28
|
-
private. This will cut down on the interference with user defined
|
29
|
-
methods of the same name.
|
30
|
-
|
31
|
-
* Fixed the verbose flag in the TestTask so that the test code is
|
32
|
-
controlled by the flag. Also shortened up some failure messages.
|
33
|
-
(Thanks to Tobias Luetke for the suggestion).
|
34
|
-
|
35
|
-
* Rules will now properly detect a task that can generate a source
|
36
|
-
file. Previously rules would only consider source files that were
|
37
|
-
already present.
|
38
|
-
|
39
|
-
* Added an +import+ command that allows Rake to dynamically import
|
40
|
-
dependendencies into a running Rake session. The +import+ command
|
41
|
-
can run tasks to update the dependency file before loading them.
|
42
|
-
Dependency files can be in rake or make format, allowing rake to
|
43
|
-
work with tools designed to generate dependencies for make.
|
44
|
-
|
45
|
-
== What is Rake
|
46
|
-
|
47
|
-
Rake is a build tool similar to the make program in many ways. But
|
48
|
-
instead of cryptic make recipes, Rake uses standard Ruby code to
|
49
|
-
declare tasks and dependencies. You have the full power of a modern
|
50
|
-
scripting language built right into your build tool.
|
51
|
-
|
52
|
-
== Availability
|
53
|
-
|
54
|
-
The easiest way to get and install rake is via RubyGems ...
|
55
|
-
|
56
|
-
gem install rake (you may need root/admin privileges)
|
57
|
-
|
58
|
-
Otherwise, you can get it from the more traditional places:
|
59
|
-
|
60
|
-
Home Page:: http://rake.rubyforge.org/
|
61
|
-
Download:: http://rubyforge.org/project/showfiles.php?group_id=50
|
62
|
-
|
63
|
-
== Thanks
|
64
|
-
|
65
|
-
As usual, it was input from users that drove a alot of these changes.
|
66
|
-
Thanks to ...
|
67
|
-
|
68
|
-
* Brian Gernhardt for the rules fix (especially for the patience to
|
69
|
-
explain the problem to me until I got what he was talking about).
|
70
|
-
* Stefan Lang for pointing out problems in the dark corners of the
|
71
|
-
FileList implementation.
|
72
|
-
* Alexey Verkhovsky pointing out the silently swallows syntax errors
|
73
|
-
in tests.
|
74
|
-
* Tobias Luetke for beautifying the test task output.
|
75
|
-
* Sam Roberts for some of the ideas behind dependency loading.
|
76
|
-
|
77
|
-
-- Jim Weirich
|
78
|
-
|