rake 10.1.1 → 10.2.0
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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -0
- data/.rubocop.yml +27 -0
- data/.togglerc +7 -0
- data/Gemfile +5 -0
- data/{CHANGES → History.rdoc} +84 -54
- data/Manifest.txt +161 -0
- data/README.rdoc +9 -10
- data/Rakefile +34 -337
- data/doc/command_line_usage.rdoc +16 -10
- data/doc/rake.1.gz +0 -0
- data/doc/rakefile.rdoc +72 -36
- data/doc/release_notes/rake-0.5.3.rdoc +1 -1
- data/doc/release_notes/rake-0.5.4.rdoc +1 -1
- data/doc/release_notes/rake-0.8.6.rdoc +1 -19
- data/doc/release_notes/rake-0.9.2.2.rdoc +2 -2
- data/doc/release_notes/rake-0.9.4.rdoc +0 -50
- data/doc/release_notes/rake-0.9.5.rdoc +0 -59
- data/doc/release_notes/rake-0.9.6.rdoc +0 -63
- data/doc/release_notes/rake-10.0.1.rdoc +2 -131
- data/doc/release_notes/rake-10.0.2.rdoc +2 -140
- data/doc/release_notes/rake-10.1.0.rdoc +2 -2
- data/lib/rake.rb +6 -1
- data/lib/rake/alt_system.rb +5 -3
- data/lib/rake/application.rb +102 -60
- data/lib/rake/backtrace.rb +1 -1
- data/lib/rake/cloneable.rb +3 -3
- data/lib/rake/contrib/.document +0 -0
- data/lib/rake/contrib/ftptools.rb +3 -5
- data/lib/rake/contrib/publisher.rb +12 -4
- data/lib/rake/contrib/rubyforgepublisher.rb +3 -1
- data/lib/rake/contrib/sshpublisher.rb +13 -2
- data/lib/rake/contrib/sys.rb +2 -0
- data/lib/rake/cpu_counter.rb +104 -0
- data/lib/rake/default_loader.rb +4 -0
- data/lib/rake/dsl_definition.rb +58 -17
- data/lib/rake/early_time.rb +4 -1
- data/lib/rake/ext/core.rb +2 -5
- data/lib/rake/ext/module.rb +1 -0
- data/lib/rake/ext/string.rb +35 -28
- data/lib/rake/ext/time.rb +1 -1
- data/lib/rake/file_list.rb +7 -9
- data/lib/rake/file_task.rb +1 -1
- data/lib/rake/gempackagetask.rb +3 -1
- data/lib/rake/invocation_chain.rb +0 -1
- data/lib/rake/linked_list.rb +1 -1
- data/lib/rake/packagetask.rb +19 -7
- data/lib/rake/pathmap.rb +2 -0
- data/lib/rake/pseudo_status.rb +2 -2
- data/lib/rake/rake_module.rb +6 -5
- data/lib/rake/rdoctask.rb +2 -0
- data/lib/rake/ruby182_test_unit_fix.rb +2 -0
- data/lib/rake/runtest.rb +6 -1
- data/lib/rake/scope.rb +1 -1
- data/lib/rake/task.rb +14 -9
- data/lib/rake/task_arguments.rb +19 -10
- data/lib/rake/task_manager.rb +20 -8
- data/lib/rake/tasklib.rb +2 -0
- data/lib/rake/testtask.rb +20 -9
- data/lib/rake/thread_pool.rb +13 -10
- data/lib/rake/trace_output.rb +1 -1
- data/lib/rake/version.rb +0 -2
- data/lib/rake/win32.rb +1 -1
- data/rakelib/publish.rake +20 -0
- data/rakelib/test_times.rake +25 -0
- data/test/helper.rb +6 -7
- data/test/support/rakefile_definitions.rb +34 -0
- data/test/test_rake_application.rb +89 -31
- data/test/test_rake_application_options.rb +13 -4
- data/test/test_rake_backtrace.rb +6 -2
- data/test/test_rake_clean.rb +3 -3
- data/test/test_rake_cpu_counter.rb +42 -0
- data/test/test_rake_file_task.rb +10 -0
- data/test/test_rake_functional.rb +17 -1
- data/test/test_rake_path_map.rb +2 -2
- data/test/test_rake_rules.rb +26 -0
- data/test/test_rake_task.rb +16 -0
- data/test/test_rake_task_argument_parsing.rb +6 -0
- data/test/test_rake_task_arguments.rb +6 -0
- data/test/test_rake_task_manager.rb +20 -0
- data/test/test_rake_test_task.rb +23 -1
- metadata +196 -72
- metadata.gz.sig +0 -0
- data/TODO +0 -21
- data/install.rb +0 -80
data/doc/command_line_usage.rdoc
CHANGED
@@ -48,22 +48,28 @@ Options are:
|
|
48
48
|
Display some help text and exit.
|
49
49
|
|
50
50
|
[<tt>--jobs</tt> _number_ (-j)]
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
51
|
+
|
52
|
+
Specifies the maximun number of concurrent threads allowed. Rake
|
53
|
+
will allocate threads as needed up to this maximum number.
|
54
|
+
|
55
|
+
If omitted, Rake will attempt to estimate the number of CPUs on
|
56
|
+
the system and add 4 to that number.
|
57
|
+
|
58
|
+
The concurrent threads are used to execute the <tt>multitask</tt>
|
59
|
+
prerequisites. Also see the <tt>-m</tt> option which turns all
|
60
|
+
tasks into multitasks.
|
56
61
|
|
57
62
|
Sample values:
|
58
|
-
|
59
|
-
|
60
|
-
|
63
|
+
(no -j) : Allow up to (# of CPUs + 4) number of threads
|
64
|
+
--jobs : Allow unlimited number of threads
|
65
|
+
--jobs=1 : Allow only one thread (the main thread)
|
66
|
+
--jobs=16 : Allow up to 16 concurrent threads
|
61
67
|
|
62
68
|
[<tt>--job-stats</tt> _level_]
|
63
69
|
|
64
70
|
Display job statistics at the completion of the run. By default,
|
65
|
-
this will display the requested number of active
|
66
|
-
-j options) and the maximum number of
|
71
|
+
this will display the requested number of active threads (from the
|
72
|
+
-j options) and the maximum number of threads in play at any given
|
67
73
|
time.
|
68
74
|
|
69
75
|
If the optional _level_ is <tt>history</tt>, then a complete trace
|
data/doc/rake.1.gz
CHANGED
Binary file
|
data/doc/rakefile.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= Rakefile Format
|
1
|
+
= Rakefile Format
|
2
2
|
|
3
3
|
First of all, there is no special format for a Rakefile. A Rakefile
|
4
4
|
contains executable Ruby code. Anything legal in a ruby script is
|
@@ -30,9 +30,9 @@ parameter that is the name of the task.
|
|
30
30
|
Any prerequisites are given as a list (enclosed in square brackets)
|
31
31
|
following the name and an arrow (=>).
|
32
32
|
|
33
|
-
task :
|
33
|
+
task name: [:prereq1, :prereq2]
|
34
34
|
|
35
|
-
|
35
|
+
*NOTE:* Although this syntax looks a little funky, it is legal
|
36
36
|
Ruby. We are constructing a hash where the key is :name and the value
|
37
37
|
for that key is the list of prerequisites. It is equivalent to the
|
38
38
|
following ...
|
@@ -41,13 +41,27 @@ following ...
|
|
41
41
|
hash[:name] = [:prereq1, :prereq2]
|
42
42
|
task(hash)
|
43
43
|
|
44
|
+
You can also use strings for task names and prerequisites, rake doesn't care.
|
45
|
+
This is the same task definition:
|
46
|
+
|
47
|
+
task 'name' => %w[prereq1 prereq2]
|
48
|
+
|
49
|
+
As is this:
|
50
|
+
|
51
|
+
task name: %w[prereq1 prereq2]
|
52
|
+
|
53
|
+
We'll prefer this style for regular tasks with prerequisites throughout the
|
54
|
+
rest of the document. Using an array of strings for the prerequisites means
|
55
|
+
you will need to make fewer changes if you need to move tasks into namespaces
|
56
|
+
or perform other refactorings.
|
57
|
+
|
44
58
|
=== Tasks with Actions
|
45
59
|
|
46
60
|
Actions are defined by passing a block to the +task+ method. Any Ruby
|
47
61
|
code can be placed in the block. The block may reference the task
|
48
62
|
object via the block parameter.
|
49
63
|
|
50
|
-
task :
|
64
|
+
task name: [:prereq1, :prereq2] do |t|
|
51
65
|
# actions (may reference t)
|
52
66
|
end
|
53
67
|
|
@@ -62,8 +76,8 @@ For example, the following is equivalent to the single task
|
|
62
76
|
specification given above.
|
63
77
|
|
64
78
|
task :name
|
65
|
-
task :
|
66
|
-
task :
|
79
|
+
task name: :prereq1
|
80
|
+
task name: %w[prereq2]
|
67
81
|
task :name do |t|
|
68
82
|
# actions
|
69
83
|
end
|
@@ -79,8 +93,8 @@ method). In addition, file tasks are usually named with a string
|
|
79
93
|
rather than a symbol.
|
80
94
|
|
81
95
|
The following file task creates a executable program (named +prog+)
|
82
|
-
given two object files named
|
83
|
-
for creating
|
96
|
+
given two object files named +a.o+ and +b.o+. The tasks
|
97
|
+
for creating +a.o+ and +b.o+ are not shown.
|
84
98
|
|
85
99
|
file "prog" => ["a.o", "b.o"] do |t|
|
86
100
|
sh "cc -o #{t.name} #{t.prerequisites.join(' ')}"
|
@@ -97,9 +111,9 @@ that creates the directory. For example, the following declaration
|
|
97
111
|
|
98
112
|
is equivalent to ...
|
99
113
|
|
100
|
-
file "testdata"
|
101
|
-
file "testdata/examples"
|
102
|
-
file "testdata/examples/doc" do |t| mkdir t.name end
|
114
|
+
file "testdata" do |t| mkdir t.name end
|
115
|
+
file "testdata/examples" => ["testdata"] do |t| mkdir t.name end
|
116
|
+
file "testdata/examples/doc" => ["testdata/examples"] do |t| mkdir t.name end
|
103
117
|
|
104
118
|
The +directory+ method does not accept prerequisites or actions, but
|
105
119
|
both prerequisites and actions can be added later. For example ...
|
@@ -114,7 +128,7 @@ both prerequisites and actions can be added later. For example ...
|
|
114
128
|
|
115
129
|
Rake allows parallel execution of prerequisites using the following syntax:
|
116
130
|
|
117
|
-
multitask :
|
131
|
+
multitask copy_files: %w[copy_src copy_doc copy_bin] do
|
118
132
|
puts "All Copies Complete"
|
119
133
|
end
|
120
134
|
|
@@ -133,9 +147,9 @@ until the common prerequisites have been run.
|
|
133
147
|
For example, if the <tt>copy_<em>xxx</em></tt> tasks have the
|
134
148
|
following prerequisites:
|
135
149
|
|
136
|
-
task :
|
137
|
-
task :
|
138
|
-
task :
|
150
|
+
task copy_src: :prep_for_copy
|
151
|
+
task copy_bin: :prep_for_copy
|
152
|
+
task copy_doc: :prep_for_copy
|
139
153
|
|
140
154
|
Then the +prep_for_copy+ task is run before starting all the copies in
|
141
155
|
parallel. Once +prep_for_copy+ is complete, +copy_src+, +copy_bin+,
|
@@ -175,7 +189,7 @@ arguments can be passed by separating them with a comma, for example:
|
|
175
189
|
|
176
190
|
Just a few words of caution. The rake task name and its arguments
|
177
191
|
need to be a single command line argument to rake. This generally
|
178
|
-
means no spaces. If spaces are needed, then the entire
|
192
|
+
means no spaces. If spaces are needed, then the entire name +
|
179
193
|
argument string should be quoted. Something like this:
|
180
194
|
|
181
195
|
rake "name[billy bob, smith]"
|
@@ -183,7 +197,7 @@ argument string should be quoted. Something like this:
|
|
183
197
|
(Quoting rules vary between operating systems and shells, so make sure
|
184
198
|
you consult the proper docs for your OS/shell).
|
185
199
|
|
186
|
-
===
|
200
|
+
=== Task Arguments and the Environment
|
187
201
|
|
188
202
|
Task argument values can also be picked up from the environment. For
|
189
203
|
example, if the "release" task expected a parameter named
|
@@ -203,7 +217,7 @@ will work. Environment variable names must either match the task
|
|
203
217
|
parameter exactly, or match an all-uppercase version of the task
|
204
218
|
parameter.
|
205
219
|
|
206
|
-
|
220
|
+
*NOTE:* A variable declared within a rake command will
|
207
221
|
not persist in the environment:
|
208
222
|
|
209
223
|
$ export VALUE=old
|
@@ -275,7 +289,7 @@ parameters as well:
|
|
275
289
|
mail = Mail.new(args.message)
|
276
290
|
recipients = args.extras
|
277
291
|
recipients.each do |target|
|
278
|
-
mail.send_to(
|
292
|
+
mail.send_to(target)
|
279
293
|
end
|
280
294
|
end
|
281
295
|
|
@@ -294,8 +308,7 @@ versions of rake.
|
|
294
308
|
== Accessing Task Programmatically
|
295
309
|
|
296
310
|
Sometimes it is useful to manipulate tasks programmatically in a
|
297
|
-
Rakefile. To find a task object
|
298
|
-
<tt>Rake::Task</tt>.
|
311
|
+
Rakefile. To find a task object use Rake::Task.[].
|
299
312
|
|
300
313
|
=== Programmatic Task Example
|
301
314
|
|
@@ -364,7 +377,7 @@ The following rule is equivalent to the example above.
|
|
364
377
|
sh "cc #{t.source} -c -o #{t.name}"
|
365
378
|
end
|
366
379
|
|
367
|
-
|
380
|
+
*NOTE:* Because of a _quirk_ in Ruby syntax, parenthesis are
|
368
381
|
required on *rule* when the first argument is a regular expression.
|
369
382
|
|
370
383
|
The following rule might be used for Java files ...
|
@@ -375,7 +388,7 @@ The following rule might be used for Java files ...
|
|
375
388
|
java_compile(t.source, t.name)
|
376
389
|
end
|
377
390
|
|
378
|
-
|
391
|
+
*NOTE:* +java_compile+ is a hypothetical method that invokes the
|
379
392
|
java compiler.
|
380
393
|
|
381
394
|
== Importing Dependencies
|
@@ -397,7 +410,7 @@ explicit task, that task is invoked before loading the file. This
|
|
397
410
|
allows dependency files to be generated and used in a single rake
|
398
411
|
command invocation.
|
399
412
|
|
400
|
-
|
413
|
+
Example:
|
401
414
|
|
402
415
|
require 'rake/loaders/makefile'
|
403
416
|
|
@@ -418,10 +431,10 @@ legal in Ruby source code, including comments for tasks and rules.
|
|
418
431
|
However, if you wish a task to be described using the "-T" switch,
|
419
432
|
then you need to use the +desc+ command to describe the task.
|
420
433
|
|
421
|
-
|
434
|
+
Example:
|
422
435
|
|
423
436
|
desc "Create a distribution package"
|
424
|
-
task :
|
437
|
+
task package: %w[ ... ] do ... end
|
425
438
|
|
426
439
|
The "-T" switch (or "--tasks" if you like to spell things out) will
|
427
440
|
display a list of tasks that have a description. If you use +desc+ to
|
@@ -453,8 +466,7 @@ common for task names to begin to clash. For example, if you might
|
|
453
466
|
have a main program and a set of sample programs built by a single
|
454
467
|
Rakefile. By placing the tasks related to the main program in one
|
455
468
|
namespace, and the tasks for building the sample programs in a
|
456
|
-
different namespace, the task names will not
|
457
|
-
each other.
|
469
|
+
different namespace, the task names will not interfere with each other.
|
458
470
|
|
459
471
|
For example:
|
460
472
|
|
@@ -470,12 +482,12 @@ For example:
|
|
470
482
|
end
|
471
483
|
end
|
472
484
|
|
473
|
-
task :
|
485
|
+
task build: %w[main:build samples:build]
|
474
486
|
|
475
487
|
Referencing a task in a separate namespace can be achieved by
|
476
488
|
prefixing the task name with the namespace and a colon
|
477
489
|
(e.g. "main:build" refers to the :build task in the +main+ namespace).
|
478
|
-
Nested namespaces are supported
|
490
|
+
Nested namespaces are supported.
|
479
491
|
|
480
492
|
Note that the name given in the +task+ command is always the unadorned
|
481
493
|
task name without any namespace prefixes. The +task+ command always
|
@@ -579,11 +591,11 @@ This is the proper way to specify the task ...
|
|
579
591
|
|
580
592
|
== Rakefile Path
|
581
593
|
|
582
|
-
When issuing the
|
594
|
+
When issuing the +rake+ command in a terminal, Rake will look
|
583
595
|
for a Rakefile in the current directory. If a Rakefile is not found,
|
584
596
|
it will search parent directories until one is found.
|
585
597
|
|
586
|
-
For example, if a Rakefile resides in the
|
598
|
+
For example, if a Rakefile resides in the +project/+ directory,
|
587
599
|
moving deeper into the project's directory tree will not have an adverse
|
588
600
|
effect on rake tasks:
|
589
601
|
|
@@ -603,12 +615,36 @@ which the Rakefile resides.
|
|
603
615
|
=== Multiple Rake Files
|
604
616
|
|
605
617
|
Not all tasks need to be included in a single Rakefile. Additional
|
606
|
-
rake files (with the file extension "
|
607
|
-
|
608
|
-
the same directory that contains the main
|
618
|
+
rake files (with the file extension "+.rake+") may be placed in
|
619
|
+
+rakelib+ directory located at the top level of a project (i.e.
|
620
|
+
the same directory that contains the main +Rakefile+).
|
609
621
|
|
610
622
|
Also, rails projects may include additional rake files in the
|
611
|
-
|
623
|
+
+lib/tasks+ directory.
|
624
|
+
|
625
|
+
=== Clean and Clobber Tasks
|
626
|
+
|
627
|
+
Through <tt>require 'rake/clean'</tt> Rake provides +clean+ and +clobber+
|
628
|
+
tasks:
|
629
|
+
|
630
|
+
+clean+ ::
|
631
|
+
Clean up the project by deleting scratch files and backup files. Add files
|
632
|
+
to the +CLEAN+ FileList to have the +clean+ target handle them.
|
633
|
+
|
634
|
+
+clobber+ ::
|
635
|
+
Clobber all generated and non-source files in a project. The task depends
|
636
|
+
on +clean+, so all the +CLEAN+ files will be deleted as well as files in the
|
637
|
+
+CLOBBER+ FileList. The intent of this task is to return a project to its
|
638
|
+
pristine, just unpacked state.
|
639
|
+
|
640
|
+
You can add file names or glob patterns to both the +CLEAN+ and +CLOBBER+
|
641
|
+
lists.
|
642
|
+
|
643
|
+
=== Phony Task
|
644
|
+
|
645
|
+
The phony task can be used as a dependency to allow file-based tasks to use
|
646
|
+
non-file-based-tasks as prerequisites without forcing them to rebuild. You
|
647
|
+
can <tt>require 'rake/phony'</tt> to add the +phony+ task.
|
612
648
|
|
613
649
|
----
|
614
650
|
|
@@ -4,7 +4,7 @@ Time for some minor bug fixes and small enhancements
|
|
4
4
|
|
5
5
|
== Changes
|
6
6
|
|
7
|
-
Here are the changes for version 0.5.
|
7
|
+
Here are the changes for version 0.5.4 ...
|
8
8
|
|
9
9
|
* Added double quotes to the test runner. This allows the location of
|
10
10
|
the tests (and runner) to be in a directory path that contains
|
@@ -4,25 +4,7 @@ Rake version 0.8.5 introduced greatly improved support for executing
|
|
4
4
|
commands on Windows. The "sh" command now has the same semantics on
|
5
5
|
Windows that it has on Unix based platforms.
|
6
6
|
|
7
|
-
Rake version 0.8.
|
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).
|
7
|
+
Rake version 0.8.5 includes minor fixes the the RDoc generation.
|
26
8
|
|
27
9
|
== What is Rake
|
28
10
|
|
@@ -4,56 +4,6 @@ Rake version 0.9.4 contains a number of bug fixes.
|
|
4
4
|
|
5
5
|
== Changes
|
6
6
|
|
7
|
-
=== New Features (in 0.9.3)
|
8
|
-
|
9
|
-
* Multitask tasks now use a thread pool. Use -j to limit the number of
|
10
|
-
available threads.
|
11
|
-
|
12
|
-
* Use -m to turn regular tasks into multitasks (use at your own risk).
|
13
|
-
|
14
|
-
* You can now do "Rake.add_rakelib 'dir'" in your Rakefile to
|
15
|
-
programatically add rake task libraries.
|
16
|
-
|
17
|
-
* You can specific backtrace suppression patterns (see
|
18
|
-
--supress-backtrace)
|
19
|
-
|
20
|
-
* Directory tasks can now take prerequisites and actions
|
21
|
-
|
22
|
-
* Use --backtrace to request a full backtrace without the task trace.
|
23
|
-
|
24
|
-
* You can say "--backtrace=stdout" and "--trace=stdout" to route trace
|
25
|
-
output to standard output rather than standard error.
|
26
|
-
|
27
|
-
* Optional 'phony' target (enable with 'require 'rake/phony'") for
|
28
|
-
special purpose builds.
|
29
|
-
|
30
|
-
* Task#clear now clears task comments as well as actions and
|
31
|
-
prerequisites. Task#clear_comment will specifically target comments.
|
32
|
-
|
33
|
-
* The --all option will force -T and -D to consider all the tasks,
|
34
|
-
with and without descriptions.
|
35
|
-
|
36
|
-
=== Bug Fixes (0.9.3)
|
37
|
-
|
38
|
-
* Semi-colons in windows rakefile paths now work.
|
39
|
-
|
40
|
-
* Improved Control-C support when invoking multiple test suites.
|
41
|
-
|
42
|
-
* egrep method now reads files in text mode (better support for
|
43
|
-
Windows)
|
44
|
-
|
45
|
-
* Better deprecation line number reporting.
|
46
|
-
|
47
|
-
* The -W option now works with all tasks, whether they have a
|
48
|
-
description or not.
|
49
|
-
|
50
|
-
* File globs in rake should not be sorted alphabetically, independent
|
51
|
-
of file system and platform.
|
52
|
-
|
53
|
-
* Numerous internal improvements.
|
54
|
-
|
55
|
-
* Documentation typos and fixes.
|
56
|
-
|
57
7
|
=== Bug Fixes (0.9.4)
|
58
8
|
|
59
9
|
* Exit status with failing tests is not correctly set to non-zero.
|
@@ -4,65 +4,6 @@ Rake version 0.9.5 contains a number of bug fixes.
|
|
4
4
|
|
5
5
|
== Changes
|
6
6
|
|
7
|
-
=== New Features (in 0.9.3)
|
8
|
-
|
9
|
-
* Multitask tasks now use a thread pool. Use -j to limit the number of
|
10
|
-
available threads.
|
11
|
-
|
12
|
-
* Use -m to turn regular tasks into multitasks (use at your own risk).
|
13
|
-
|
14
|
-
* You can now do "Rake.add_rakelib 'dir'" in your Rakefile to
|
15
|
-
programatically add rake task libraries.
|
16
|
-
|
17
|
-
* You can specific backtrace suppression patterns (see
|
18
|
-
--supress-backtrace)
|
19
|
-
|
20
|
-
* Directory tasks can now take prerequisites and actions
|
21
|
-
|
22
|
-
* Use --backtrace to request a full backtrace without the task trace.
|
23
|
-
|
24
|
-
* You can say "--backtrace=stdout" and "--trace=stdout" to route trace
|
25
|
-
output to standard output rather than standard error.
|
26
|
-
|
27
|
-
* Optional 'phony' target (enable with 'require 'rake/phony'") for
|
28
|
-
special purpose builds.
|
29
|
-
|
30
|
-
* Task#clear now clears task comments as well as actions and
|
31
|
-
prerequisites. Task#clear_comment will specifically target comments.
|
32
|
-
|
33
|
-
* The --all option will force -T and -D to consider all the tasks,
|
34
|
-
with and without descriptions.
|
35
|
-
|
36
|
-
=== Bug Fixes (0.9.3)
|
37
|
-
|
38
|
-
* Semi-colons in windows rakefile paths now work.
|
39
|
-
|
40
|
-
* Improved Control-C support when invoking multiple test suites.
|
41
|
-
|
42
|
-
* egrep method now reads files in text mode (better support for
|
43
|
-
Windows)
|
44
|
-
|
45
|
-
* Better deprecation line number reporting.
|
46
|
-
|
47
|
-
* The -W option now works with all tasks, whether they have a
|
48
|
-
description or not.
|
49
|
-
|
50
|
-
* File globs in rake should not be sorted alphabetically, independent
|
51
|
-
of file system and platform.
|
52
|
-
|
53
|
-
* Numerous internal improvements.
|
54
|
-
|
55
|
-
* Documentation typos and fixes.
|
56
|
-
|
57
|
-
=== Bug Fixes (0.9.4)
|
58
|
-
|
59
|
-
* Exit status with failing tests is not correctly set to non-zero.
|
60
|
-
|
61
|
-
* Simplified syntax for phony task (for older versions of RDoc).
|
62
|
-
|
63
|
-
* Stand alone FileList usage gets glob function (without loading in
|
64
|
-
extra dependencies)
|
65
|
-
|
66
7
|
=== Bug Fixes (0.9.5)
|
67
8
|
|
68
9
|
* --trace and --backtrace no longer swallow following task names.
|