rake 10.0.0.beta.2 → 13.0.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/macos.yml +22 -0
- data/.github/workflows/ubuntu-rvm.yml +28 -0
- data/.github/workflows/ubuntu.yml +20 -0
- data/.github/workflows/windows.yml +20 -0
- data/CONTRIBUTING.rdoc +43 -0
- data/Gemfile +10 -0
- data/History.rdoc +2359 -0
- data/MIT-LICENSE +1 -1
- data/README.rdoc +57 -101
- data/Rakefile +22 -354
- data/bin/bundle +105 -0
- data/bin/console +7 -0
- data/bin/rake +19 -27
- data/bin/rdoc +29 -0
- data/bin/rubocop +29 -0
- data/bin/setup +6 -0
- data/doc/command_line_usage.rdoc +30 -18
- data/doc/glossary.rdoc +40 -49
- data/doc/jamis.rb +1 -0
- data/doc/rake.1 +156 -0
- data/doc/rakefile.rdoc +127 -62
- data/exe/rake +27 -0
- data/lib/rake.rb +35 -34
- data/lib/rake/application.rb +355 -188
- data/lib/rake/backtrace.rb +14 -7
- data/lib/rake/clean.rb +54 -8
- data/lib/rake/cloneable.rb +5 -4
- data/lib/rake/cpu_counter.rb +107 -0
- data/lib/rake/default_loader.rb +5 -0
- data/lib/rake/dsl_definition.rb +58 -19
- data/lib/rake/early_time.rb +5 -1
- data/lib/rake/ext/core.rb +5 -6
- data/lib/rake/ext/string.rb +61 -52
- data/lib/rake/file_creation_task.rb +4 -3
- data/lib/rake/file_list.rb +81 -49
- data/lib/rake/file_task.rb +15 -8
- data/lib/rake/file_utils.rb +63 -43
- data/lib/rake/file_utils_ext.rb +10 -22
- data/lib/rake/invocation_chain.rb +25 -19
- data/lib/rake/invocation_exception_mixin.rb +1 -0
- data/lib/rake/late_time.rb +18 -0
- data/lib/rake/linked_list.rb +112 -0
- data/lib/rake/loaders/makefile.rb +23 -9
- data/lib/rake/multi_task.rb +2 -1
- data/lib/rake/name_space.rb +36 -23
- data/lib/rake/packagetask.rb +71 -34
- data/lib/rake/phony.rb +6 -3
- data/lib/rake/private_reader.rb +21 -0
- data/lib/rake/promise.rb +100 -0
- data/lib/rake/pseudo_status.rb +8 -2
- data/lib/rake/rake_module.rb +34 -11
- data/lib/rake/rake_test_loader.rb +18 -13
- data/lib/rake/rule_recursion_overflow_error.rb +2 -2
- data/lib/rake/scope.rb +43 -0
- data/lib/rake/task.rb +166 -82
- data/lib/rake/task_argument_error.rb +1 -0
- data/lib/rake/task_arguments.rb +45 -14
- data/lib/rake/task_manager.rb +82 -50
- data/lib/rake/tasklib.rb +2 -12
- data/lib/rake/testtask.rb +68 -39
- data/lib/rake/thread_history_display.rb +10 -6
- data/lib/rake/thread_pool.rb +60 -86
- data/lib/rake/trace_output.rb +23 -0
- data/lib/rake/version.rb +6 -8
- data/lib/rake/win32.rb +14 -18
- data/rake.gemspec +36 -0
- metadata +64 -166
- data/.gemtest +0 -0
- data/CHANGES +0 -526
- data/TODO +0 -21
- data/doc/rake.1.gz +0 -0
- 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 -55
- 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-10.0.0.rdoc +0 -178
- data/install.rb +0 -90
- data/lib/rake/alt_system.rb +0 -109
- data/lib/rake/contrib/compositepublisher.rb +0 -21
- data/lib/rake/contrib/ftptools.rb +0 -151
- data/lib/rake/contrib/publisher.rb +0 -73
- data/lib/rake/contrib/rubyforgepublisher.rb +0 -16
- data/lib/rake/contrib/sshpublisher.rb +0 -50
- data/lib/rake/ext/module.rb +0 -0
- data/lib/rake/ext/time.rb +0 -14
- data/lib/rake/pathmap.rb +0 -1
- data/lib/rake/ruby182_test_unit_fix.rb +0 -25
- data/lib/rake/runtest.rb +0 -21
- data/test/file_creation.rb +0 -34
- data/test/helper.rb +0 -522
- data/test/test_rake.rb +0 -40
- data/test/test_rake_application.rb +0 -484
- data/test/test_rake_application_options.rb +0 -427
- data/test/test_rake_backtrace.rb +0 -67
- data/test/test_rake_clean.rb +0 -14
- data/test/test_rake_definitions.rb +0 -80
- data/test/test_rake_directory_task.rb +0 -57
- data/test/test_rake_dsl.rb +0 -40
- data/test/test_rake_early_time.rb +0 -31
- data/test/test_rake_extension.rb +0 -59
- data/test/test_rake_file_creation_task.rb +0 -56
- data/test/test_rake_file_list.rb +0 -628
- data/test/test_rake_file_list_path_map.rb +0 -8
- data/test/test_rake_file_task.rb +0 -122
- data/test/test_rake_file_utils.rb +0 -305
- data/test/test_rake_ftp_file.rb +0 -59
- data/test/test_rake_functional.rb +0 -472
- data/test/test_rake_invocation_chain.rb +0 -52
- data/test/test_rake_makefile_loader.rb +0 -44
- data/test/test_rake_multi_task.rb +0 -59
- data/test/test_rake_name_space.rb +0 -43
- data/test/test_rake_package_task.rb +0 -79
- data/test/test_rake_path_map.rb +0 -157
- data/test/test_rake_path_map_explode.rb +0 -34
- data/test/test_rake_path_map_partial.rb +0 -18
- data/test/test_rake_pseudo_status.rb +0 -21
- data/test/test_rake_rake_test_loader.rb +0 -21
- data/test/test_rake_reduce_compat.rb +0 -30
- data/test/test_rake_require.rb +0 -40
- data/test/test_rake_rules.rb +0 -327
- data/test/test_rake_task.rb +0 -316
- data/test/test_rake_task_argument_parsing.rb +0 -103
- data/test/test_rake_task_arguments.rb +0 -88
- data/test/test_rake_task_lib.rb +0 -9
- data/test/test_rake_task_manager.rb +0 -157
- data/test/test_rake_task_manager_argument_resolution.rb +0 -19
- data/test/test_rake_task_with_arguments.rb +0 -162
- data/test/test_rake_test_task.rb +0 -120
- data/test/test_rake_thread_pool.rb +0 -146
- data/test/test_rake_top_level_functions.rb +0 -71
- data/test/test_rake_win32.rb +0 -72
- data/test/test_thread_history_display.rb +0 -91
@@ -1,112 +0,0 @@
|
|
1
|
-
= Rake 0.8.3 Released
|
2
|
-
|
3
|
-
Rake version 0.8.3 is a bug-fix release of rake.
|
4
|
-
|
5
|
-
== Changes
|
6
|
-
|
7
|
-
=== Bug Fixes in Version 0.8.3
|
8
|
-
|
9
|
-
* Enhanced the system directory detection in windows. We now check
|
10
|
-
HOMEDRIVE/HOMEPATH and USERPROFILE if APPDATA isn't found. (Patch
|
11
|
-
supplied by James Tucker). Rake no long aborts if it can't find the
|
12
|
-
directory.
|
13
|
-
|
14
|
-
* Added fix to handle ruby installations in directories with spaces in
|
15
|
-
their name.
|
16
|
-
|
17
|
-
== What is Rake
|
18
|
-
|
19
|
-
Rake is a build tool similar to the make program in many ways. But
|
20
|
-
instead of cryptic make recipes, Rake uses standard Ruby code to
|
21
|
-
declare tasks and dependencies. You have the full power of a modern
|
22
|
-
scripting language built right into your build tool.
|
23
|
-
|
24
|
-
== Availability
|
25
|
-
|
26
|
-
The easiest way to get and install rake is via RubyGems ...
|
27
|
-
|
28
|
-
gem install rake (you may need root/admin privileges)
|
29
|
-
|
30
|
-
Otherwise, you can get it from the more traditional places:
|
31
|
-
|
32
|
-
Home Page:: http://rake.rubyforge.org/
|
33
|
-
Download:: http://rubyforge.org/project/showfiles.php?group_id=50
|
34
|
-
|
35
|
-
== Task Argument Examples
|
36
|
-
|
37
|
-
Prior to version 0.8.0, rake was only able to handle command line
|
38
|
-
arguments of the form NAME=VALUE that were passed into Rake via the
|
39
|
-
ENV hash. Many folks had asked for some kind of simple command line
|
40
|
-
arguments, perhaps using "--" to separate regular task names from
|
41
|
-
argument values on the command line. The problem is that there was no
|
42
|
-
easy way to associate positional arguments on the command line with
|
43
|
-
different tasks. Suppose both tasks :a and :b expect a command line
|
44
|
-
argument: does the first value go with :a? What if :b is run first?
|
45
|
-
Should it then get the first command line argument.
|
46
|
-
|
47
|
-
Rake 0.8.0 solves this problem by explicitly passing values directly
|
48
|
-
to the tasks that need them. For example, if I had a release task
|
49
|
-
that required a version number, I could say:
|
50
|
-
|
51
|
-
rake release[0.8.3]
|
52
|
-
|
53
|
-
And the string "0.8.3" will be passed to the :release task. Multiple
|
54
|
-
arguments can be passed by separating them with a comma, for example:
|
55
|
-
|
56
|
-
rake name[john,doe]
|
57
|
-
|
58
|
-
Just a few words of caution. The rake task name and its arguments
|
59
|
-
need to be a single command line argument to rake. This generally
|
60
|
-
means no spaces. If spaces are needed, then the entire rake +
|
61
|
-
argument string should be quoted. Something like this:
|
62
|
-
|
63
|
-
rake "name[billy bob, smith]"
|
64
|
-
|
65
|
-
(Quoting rules vary between operating systems and shells, so make sure
|
66
|
-
you consult the proper docs for your OS/shell).
|
67
|
-
|
68
|
-
=== Tasks that Expect Parameters
|
69
|
-
|
70
|
-
Parameters are only given to tasks that are setup to expect them. In
|
71
|
-
order to handle named parameters, the task declaration syntax for
|
72
|
-
tasks has been extended slightly.
|
73
|
-
|
74
|
-
For example, a task that needs a first name and last name might be
|
75
|
-
declared as:
|
76
|
-
|
77
|
-
task :name, :first_name, :last_name
|
78
|
-
|
79
|
-
The first argument is still the name of the task (:name in this case).
|
80
|
-
The next to argumements are the names of the parameters expected by
|
81
|
-
:name (:first_name and :last_name in the example).
|
82
|
-
|
83
|
-
To access the values of the paramters, the block defining the task
|
84
|
-
behaviour can now accept a second parameter:
|
85
|
-
|
86
|
-
task :name, :first_name, :last_name do |t, args|
|
87
|
-
puts "First name is #{args.first_name}"
|
88
|
-
puts "Last name is #{args.last_name}"
|
89
|
-
end
|
90
|
-
|
91
|
-
The first argument of the block "t" is always bound to the current
|
92
|
-
task object. The second argument "args" is an open-struct like object
|
93
|
-
that allows access to the task arguments. Extra command line
|
94
|
-
arguments to a task are ignored. Missing command line arguments are
|
95
|
-
given the nil value.
|
96
|
-
|
97
|
-
== Thanks
|
98
|
-
|
99
|
-
As usual, it was input from users that drove a alot of these changes. The
|
100
|
-
following people either contributed patches, made suggestions or made
|
101
|
-
otherwise helpful comments. Thanks to ...
|
102
|
-
|
103
|
-
* Edwin Pratomo
|
104
|
-
* Gavin Stark
|
105
|
-
* Adam Q. Salter
|
106
|
-
* Adam Majer
|
107
|
-
* Emanuel Indermühle
|
108
|
-
* Ittay Dror
|
109
|
-
* Bheeshmar Redheendran (for spending an afternoon with me debugging
|
110
|
-
windows issues)
|
111
|
-
|
112
|
-
-- Jim Weirich
|
@@ -1,147 +0,0 @@
|
|
1
|
-
= Rake 0.8.4 Released
|
2
|
-
|
3
|
-
Rake version 0.8.4 is a bug-fix release of rake.
|
4
|
-
|
5
|
-
NOTE: The version of Rake that comes with Ruby 1.9 has diverged
|
6
|
-
slightly from the core Rake code base. Rake 0.8.4 will work
|
7
|
-
with Ruby 1.9, but is not a strict upgrade for the Rake that
|
8
|
-
comes with Ruby 1.9. A (near) future release of Rake will unify
|
9
|
-
those two codebases.
|
10
|
-
|
11
|
-
== Letter Writing Campaign
|
12
|
-
|
13
|
-
Thanks to Aaron Patterson (@tenderlove) and Eric Hodel (@drbrain) for
|
14
|
-
their encouraging support in organizing a letter writing campaign to
|
15
|
-
lobby for the "Warning Free" release of rake 0.8.4. A special callout
|
16
|
-
goes to Jonathan D. Lord, Sr (Dr. Wingnut) whose postcard was the
|
17
|
-
first to actually reach me. (see
|
18
|
-
http://tenderlovemaking.com/2009/02/26/we-need-a-new-version-of-rake/
|
19
|
-
for details)
|
20
|
-
|
21
|
-
== Changes
|
22
|
-
|
23
|
-
=== New Features / Enhancements in Version 0.8.4
|
24
|
-
|
25
|
-
* Case is preserved on rakefile names. (patch from James
|
26
|
-
M. Lawrence/quix)
|
27
|
-
|
28
|
-
* Improved Rakefile case insensitivity testing (patch from Luis
|
29
|
-
Lavena).
|
30
|
-
|
31
|
-
* Windows system dir search order is now: HOME, HOMEDRIVE + HOMEPATH,
|
32
|
-
APPDATA, USERPROFILE (patch from Luis Lavena)
|
33
|
-
|
34
|
-
* MingGW is now recognized as a windows platform. (patch from Luis
|
35
|
-
Lavena)
|
36
|
-
|
37
|
-
=== Bug Fixes in Version 0.8.4
|
38
|
-
|
39
|
-
* Removed reference to manage_gem to fix the warning produced by the
|
40
|
-
gem package task.
|
41
|
-
|
42
|
-
* Fixed stray ARGV option problem that was interfering with
|
43
|
-
Test::Unit::Runner. (patch from Pivotal Labs)
|
44
|
-
|
45
|
-
=== Infrastructure Improvements in Version 0.8.4
|
46
|
-
|
47
|
-
* Numerous fixes to the windows test suite (patch from Luis Lavena).
|
48
|
-
|
49
|
-
* Improved Rakefile case insensitivity testing (patch from Luis
|
50
|
-
Lavena).
|
51
|
-
|
52
|
-
* Better support for windows paths in the test task (patch from Simon
|
53
|
-
Chiang/bahuvrihi)
|
54
|
-
|
55
|
-
== What is Rake
|
56
|
-
|
57
|
-
Rake is a build tool similar to the make program in many ways. But
|
58
|
-
instead of cryptic make recipes, Rake uses standard Ruby code to
|
59
|
-
declare tasks and dependencies. You have the full power of a modern
|
60
|
-
scripting language built right into your build tool.
|
61
|
-
|
62
|
-
== Availability
|
63
|
-
|
64
|
-
The easiest way to get and install rake is via RubyGems ...
|
65
|
-
|
66
|
-
gem install rake (you may need root/admin privileges)
|
67
|
-
|
68
|
-
Otherwise, you can get it from the more traditional places:
|
69
|
-
|
70
|
-
Home Page:: http://rake.rubyforge.org/
|
71
|
-
Download:: http://rubyforge.org/project/showfiles.php?group_id=50
|
72
|
-
GitHub:: git://github.com/jimweirich/rake.git
|
73
|
-
|
74
|
-
== Task Argument Examples
|
75
|
-
|
76
|
-
Prior to version 0.8.0, rake was only able to handle command line
|
77
|
-
arguments of the form NAME=VALUE that were passed into Rake via the
|
78
|
-
ENV hash. Many folks had asked for some kind of simple command line
|
79
|
-
arguments, perhaps using "--" to separate regular task names from
|
80
|
-
argument values on the command line. The problem is that there was no
|
81
|
-
easy way to associate positional arguments on the command line with
|
82
|
-
different tasks. Suppose both tasks :a and :b expect a command line
|
83
|
-
argument: does the first value go with :a? What if :b is run first?
|
84
|
-
Should it then get the first command line argument.
|
85
|
-
|
86
|
-
Rake 0.8.0 solves this problem by explicitly passing values directly
|
87
|
-
to the tasks that need them. For example, if I had a release task
|
88
|
-
that required a version number, I could say:
|
89
|
-
|
90
|
-
rake release[0.8.4]
|
91
|
-
|
92
|
-
And the string "0.8.4" will be passed to the :release task. Multiple
|
93
|
-
arguments can be passed by separating them with a comma, for example:
|
94
|
-
|
95
|
-
rake name[john,doe]
|
96
|
-
|
97
|
-
Just a few words of caution. The rake task name and its arguments
|
98
|
-
need to be a single command line argument to rake. This generally
|
99
|
-
means no spaces. If spaces are needed, then the entire rake +
|
100
|
-
argument string should be quoted. Something like this:
|
101
|
-
|
102
|
-
rake "name[billy bob, smith]"
|
103
|
-
|
104
|
-
(Quoting rules vary between operating systems and shells, so make sure
|
105
|
-
you consult the proper docs for your OS/shell).
|
106
|
-
|
107
|
-
=== Tasks that Expect Parameters
|
108
|
-
|
109
|
-
Parameters are only given to tasks that are setup to expect them. In
|
110
|
-
order to handle named parameters, the task declaration syntax for
|
111
|
-
tasks has been extended slightly.
|
112
|
-
|
113
|
-
For example, a task that needs a first name and last name might be
|
114
|
-
declared as:
|
115
|
-
|
116
|
-
task :name, :first_name, :last_name
|
117
|
-
|
118
|
-
The first argument is still the name of the task (:name in this case).
|
119
|
-
The next to argumements are the names of the parameters expected by
|
120
|
-
:name (:first_name and :last_name in the example).
|
121
|
-
|
122
|
-
To access the values of the paramters, the block defining the task
|
123
|
-
behaviour can now accept a second parameter:
|
124
|
-
|
125
|
-
task :name, :first_name, :last_name do |t, args|
|
126
|
-
puts "First name is #{args.first_name}"
|
127
|
-
puts "Last name is #{args.last_name}"
|
128
|
-
end
|
129
|
-
|
130
|
-
The first argument of the block "t" is always bound to the current
|
131
|
-
task object. The second argument "args" is an open-struct like object
|
132
|
-
that allows access to the task arguments. Extra command line
|
133
|
-
arguments to a task are ignored. Missing command line arguments are
|
134
|
-
given the nil value.
|
135
|
-
|
136
|
-
== Thanks
|
137
|
-
|
138
|
-
As usual, it was input from users that drove a alot of these changes. The
|
139
|
-
following people either contributed patches, made suggestions or made
|
140
|
-
otherwise helpful comments. Thanks to ...
|
141
|
-
|
142
|
-
* James M. Lawrence/quix
|
143
|
-
* Luis Lavena
|
144
|
-
* Pivotal Labs
|
145
|
-
* Simon Chiang/bahuvrihi
|
146
|
-
|
147
|
-
-- Jim Weirich
|
@@ -1,53 +0,0 @@
|
|
1
|
-
= Rake 0.8.5 Released
|
2
|
-
|
3
|
-
Rake version 0.8.5 is a new release of Rake with greatly improved
|
4
|
-
support for executing commands on Windows. The "sh" command now has
|
5
|
-
the same semantics on Windows that it has on Unix based platforms.
|
6
|
-
|
7
|
-
== Changes
|
8
|
-
|
9
|
-
=== New Features / Enhancements in Version 0.8.5
|
10
|
-
|
11
|
-
* Improved implementation of the Rake system command for Windows.
|
12
|
-
(patch from James M. Lawrence/quix)
|
13
|
-
|
14
|
-
* Support for Ruby 1.9's improved system command. (patch from James
|
15
|
-
M. Lawrence/quix)
|
16
|
-
|
17
|
-
* Rake now includes the configured extension when invoking an
|
18
|
-
executable (Config::CONFIG['EXEEXT])
|
19
|
-
|
20
|
-
=== Bug Fixes in Version 0.8.5
|
21
|
-
|
22
|
-
* Environment variable keys are now correctly cased (it matters in
|
23
|
-
some implementations).
|
24
|
-
|
25
|
-
== What is Rake
|
26
|
-
|
27
|
-
Rake is a build tool similar to the make program in many ways. But
|
28
|
-
instead of cryptic make recipes, Rake uses standard Ruby code to
|
29
|
-
declare tasks and dependencies. You have the full power of a modern
|
30
|
-
scripting language built right into your build tool.
|
31
|
-
|
32
|
-
== Availability
|
33
|
-
|
34
|
-
The easiest way to get and install rake is via RubyGems ...
|
35
|
-
|
36
|
-
gem install rake (you may need root/admin privileges)
|
37
|
-
|
38
|
-
Otherwise, you can get it from the more traditional places:
|
39
|
-
|
40
|
-
Home Page:: http://rake.rubyforge.org/
|
41
|
-
Download:: http://rubyforge.org/project/showfiles.php?group_id=50
|
42
|
-
GitHub:: git://github.com/jimweirich/rake.git
|
43
|
-
|
44
|
-
== Thanks
|
45
|
-
|
46
|
-
As usual, it was input from users that drove a alot of these changes. The
|
47
|
-
following people either contributed patches, made suggestions or made
|
48
|
-
otherwise helpful comments. Thanks to ...
|
49
|
-
|
50
|
-
* James M. Lawrence/quix
|
51
|
-
* Luis Lavena
|
52
|
-
|
53
|
-
-- Jim Weirich
|
@@ -1,55 +0,0 @@
|
|
1
|
-
= Rake 0.8.6 Released
|
2
|
-
|
3
|
-
Rake version 0.8.5 introduced greatly improved support for executing
|
4
|
-
commands on Windows. The "sh" command now has the same semantics on
|
5
|
-
Windows that it has on Unix based platforms.
|
6
|
-
|
7
|
-
Rake version 0.8.6 includes minor fixes the the RDoc generation.
|
8
|
-
|
9
|
-
== Changes
|
10
|
-
|
11
|
-
=== New Features / Enhancements in Version 0.8.5
|
12
|
-
|
13
|
-
* Improved implementation of the Rake system command for Windows.
|
14
|
-
(patch from James M. Lawrence/quix)
|
15
|
-
|
16
|
-
* Support for Ruby 1.9's improved system command. (patch from James
|
17
|
-
M. Lawrence/quix)
|
18
|
-
|
19
|
-
* Rake now includes the configured extension when invoking an
|
20
|
-
executable (Config::CONFIG['EXEEXT])
|
21
|
-
|
22
|
-
=== Bug Fixes in Version 0.8.5
|
23
|
-
|
24
|
-
* Environment variable keys are now correctly cased (it matters in
|
25
|
-
some implementations).
|
26
|
-
|
27
|
-
== What is Rake
|
28
|
-
|
29
|
-
Rake is a build tool similar to the make program in many ways. But
|
30
|
-
instead of cryptic make recipes, Rake uses standard Ruby code to
|
31
|
-
declare tasks and dependencies. You have the full power of a modern
|
32
|
-
scripting language built right into your build tool.
|
33
|
-
|
34
|
-
== Availability
|
35
|
-
|
36
|
-
The easiest way to get and install rake is via RubyGems ...
|
37
|
-
|
38
|
-
gem install rake (you may need root/admin privileges)
|
39
|
-
|
40
|
-
Otherwise, you can get it from the more traditional places:
|
41
|
-
|
42
|
-
Home Page:: http://rake.rubyforge.org/
|
43
|
-
Download:: http://rubyforge.org/project/showfiles.php?group_id=50
|
44
|
-
GitHub:: git://github.com/jimweirich/rake.git
|
45
|
-
|
46
|
-
== Thanks
|
47
|
-
|
48
|
-
As usual, it was input from users that drove a alot of these changes. The
|
49
|
-
following people either contributed patches, made suggestions or made
|
50
|
-
otherwise helpful comments. Thanks to ...
|
51
|
-
|
52
|
-
* James M. Lawrence/quix
|
53
|
-
* Luis Lavena
|
54
|
-
|
55
|
-
-- Jim Weirich
|
@@ -1,55 +0,0 @@
|
|
1
|
-
= Rake 0.8.7 Released
|
2
|
-
|
3
|
-
Rake version 0.8.5 introduced greatly improved support for executing
|
4
|
-
commands on Windows. The "sh" command now has the same semantics on
|
5
|
-
Windows that it has on Unix based platforms.
|
6
|
-
|
7
|
-
Rake version 0.8.6 includes minor fixes the the RDoc generation.
|
8
|
-
Rake version 0.8.7 includes a minor fix for JRuby running on windows.
|
9
|
-
|
10
|
-
== Changes
|
11
|
-
|
12
|
-
=== New Features / Enhancements in Version 0.8.5
|
13
|
-
|
14
|
-
* Improved implementation of the Rake system command for Windows.
|
15
|
-
(patch from James M. Lawrence/quix)
|
16
|
-
|
17
|
-
* Support for Ruby 1.9's improved system command. (patch from James
|
18
|
-
M. Lawrence/quix)
|
19
|
-
|
20
|
-
* Rake now includes the configured extension when invoking an
|
21
|
-
executable (Config::CONFIG['EXEEXT])
|
22
|
-
|
23
|
-
=== Bug Fixes in Version 0.8.5
|
24
|
-
|
25
|
-
* Environment variable keys are now correctly cased (it matters in
|
26
|
-
some implementations).
|
27
|
-
|
28
|
-
== What is Rake
|
29
|
-
|
30
|
-
Rake is a build tool similar to the make program in many ways. But
|
31
|
-
instead of cryptic make recipes, Rake uses standard Ruby code to
|
32
|
-
declare tasks and dependencies. You have the full power of a modern
|
33
|
-
scripting language built right into your build tool.
|
34
|
-
|
35
|
-
== Availability
|
36
|
-
|
37
|
-
The easiest way to get and install rake is via RubyGems ...
|
38
|
-
|
39
|
-
gem install rake (you may need root/admin privileges)
|
40
|
-
|
41
|
-
Otherwise, you can get it from the more traditional places:
|
42
|
-
|
43
|
-
Home Page:: http://rake.rubyforge.org/
|
44
|
-
Download:: http://rubyforge.org/project/showfiles.php?group_id=50
|
45
|
-
GitHub:: git://github.com/jimweirich/rake.git
|
46
|
-
|
47
|
-
== Thanks
|
48
|
-
|
49
|
-
As usual, it was input from users that drove a alot of these changes. The
|
50
|
-
following people either contributed patches, made suggestions or made
|
51
|
-
otherwise helpful comments. Thanks to ...
|
52
|
-
|
53
|
-
* Charles Nutter
|
54
|
-
|
55
|
-
-- Jim Weirich
|
@@ -1,112 +0,0 @@
|
|
1
|
-
= Rake 0.9.0 Released
|
2
|
-
|
3
|
-
Rake version 0.9.0 has a number of bug fixes and enhancments (see
|
4
|
-
below for more details). Additionally, the internals have be slightly
|
5
|
-
restructured and improved.
|
6
|
-
|
7
|
-
== Changes
|
8
|
-
|
9
|
-
=== New Features / Enhancements / Bug Fixes in Version 0.9.0
|
10
|
-
|
11
|
-
* Rake now warns when the deprecated :needs syntax used (and suggests
|
12
|
-
the proper syntax in the warning).
|
13
|
-
|
14
|
-
* Moved Rake DSL commands to top level ruby object 'main'. Rake DSL
|
15
|
-
commands are no longer private methods in Object. (Suggested by
|
16
|
-
James M. Lawrence/quix)
|
17
|
-
|
18
|
-
* Rake now uses case-insensitive comparisons to find the Rakefile on Windows.
|
19
|
-
Based on patch by Roger Pack.
|
20
|
-
|
21
|
-
* Rake now requires (instead of loads) files in the test task. Patch by Cezary
|
22
|
-
Baginski.
|
23
|
-
|
24
|
-
* Fixed typos. Patches by Sean Scot August Moon and R.T. Lechow.
|
25
|
-
|
26
|
-
* Rake now prints the Rakefile directory only when it's different from the
|
27
|
-
current directory. Patch by Alex Chaffee.
|
28
|
-
|
29
|
-
* Improved rakefile_location discovery on Windows. Patch by James Tucker.
|
30
|
-
|
31
|
-
* Rake now recognizes "Windows Server" as a windows system. Patch by Matthias
|
32
|
-
Lüdtke
|
33
|
-
|
34
|
-
* Rake::RDocTask is deprecated. Use RDoc::Task from RDoc 2.4.2+ (require
|
35
|
-
'rdoc/task')
|
36
|
-
|
37
|
-
* Rake::GemPackageTask is deprecated. Use Gem::PackageTask (require
|
38
|
-
'rubygems/package_task')
|
39
|
-
|
40
|
-
* Rake now outputs various messages to $stderr instead of $stdout.
|
41
|
-
|
42
|
-
* Rake no longer emits warnings for Config. Patch by Santiago Pastorino.
|
43
|
-
|
44
|
-
* Removed Rake's DSL methods from the top level scope. If you need to
|
45
|
-
call 'task :xzy' in your code, include Rake::DSL into your class, or
|
46
|
-
put the code in a Rake::DSL.environment do ... end block.
|
47
|
-
|
48
|
-
* Split rake.rb into individual files.
|
49
|
-
|
50
|
-
* Support for the --where (-W) flag for showing where a task is defined.
|
51
|
-
|
52
|
-
* Fixed quoting in test task.
|
53
|
-
(http://onestepback.org/redmine/issues/show/44,
|
54
|
-
http://www.pivotaltracker.com/story/show/1223138)
|
55
|
-
|
56
|
-
* Fixed the silent option parsing problem.
|
57
|
-
(http://onestepback.org/redmine/issues/show/47)
|
58
|
-
|
59
|
-
* Fixed :verbose=>false flag on sh and ruby commands.
|
60
|
-
|
61
|
-
* Rake command line options may be given by default in a RAKEOPT
|
62
|
-
environment variable.
|
63
|
-
|
64
|
-
* Errors in Rake will now display the task invocation chain in effect
|
65
|
-
at the time of the error.
|
66
|
-
|
67
|
-
* Accepted change by warnickr to not expand test patterns in shell
|
68
|
-
(allowing more files in the test suite).
|
69
|
-
|
70
|
-
* Fixed that file tasks did not perform prereq lookups in scope
|
71
|
-
(Redmine #57).
|
72
|
-
|
73
|
-
== What is Rake
|
74
|
-
|
75
|
-
Rake is a build tool similar to the make program in many ways. But
|
76
|
-
instead of cryptic make recipes, Rake uses standard Ruby code to
|
77
|
-
declare tasks and dependencies. You have the full power of a modern
|
78
|
-
scripting language built right into your build tool.
|
79
|
-
|
80
|
-
== Availability
|
81
|
-
|
82
|
-
The easiest way to get and install rake is via RubyGems ...
|
83
|
-
|
84
|
-
gem install rake (you may need root/admin privileges)
|
85
|
-
|
86
|
-
Otherwise, you can get it from the more traditional places:
|
87
|
-
|
88
|
-
Home Page:: http://rake.rubyforge.org/
|
89
|
-
Download:: http://rubyforge.org/project/showfiles.php?group_id=50
|
90
|
-
GitHub:: git://github.com/jimweirich/rake.git
|
91
|
-
|
92
|
-
== Thanks
|
93
|
-
|
94
|
-
As usual, it was input from users that drove a alot of these changes. The
|
95
|
-
following people either contributed patches, made suggestions or made
|
96
|
-
otherwise helpful comments. Thanks to ...
|
97
|
-
|
98
|
-
* James M. Lawrence (quix)
|
99
|
-
* Roger Pack
|
100
|
-
* Cezary Baginski
|
101
|
-
* Sean Scot August Moon
|
102
|
-
* R.T. Lechow
|
103
|
-
* Alex Chaffee
|
104
|
-
* James Tucker
|
105
|
-
* Matthias Lüdtke
|
106
|
-
* Santiago Pastorino
|
107
|
-
|
108
|
-
Also, bit thanks to Eric Hodel for assisting with getting this release
|
109
|
-
out the door (where "assisting" includes, but is not by any means
|
110
|
-
limited to, "pushing" me to get it done).
|
111
|
-
|
112
|
-
-- Jim Weirich
|