rake 10.5.0 → 13.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/History.rdoc +2032 -288
- data/README.rdoc +40 -24
- data/doc/jamis.rb +1 -0
- data/doc/rake.1 +139 -124
- data/doc/rakefile.rdoc +2 -4
- data/{bin → exe}/rake +1 -7
- data/lib/rake/application.rb +164 -93
- data/lib/rake/backtrace.rb +4 -2
- data/lib/rake/clean.rb +7 -5
- data/lib/rake/cloneable.rb +1 -0
- data/lib/rake/cpu_counter.rb +10 -28
- data/lib/rake/default_loader.rb +1 -0
- data/lib/rake/dsl_definition.rb +8 -13
- data/lib/rake/early_time.rb +1 -0
- data/lib/rake/ext/core.rb +1 -0
- data/lib/rake/ext/string.rb +22 -21
- data/lib/rake/file_creation_task.rb +4 -3
- data/lib/rake/file_list.rb +34 -27
- data/lib/rake/file_task.rb +19 -7
- data/lib/rake/file_utils.rb +37 -33
- data/lib/rake/file_utils_ext.rb +8 -18
- data/lib/rake/invocation_chain.rb +1 -0
- data/lib/rake/invocation_exception_mixin.rb +1 -0
- data/lib/rake/late_time.rb +2 -1
- data/lib/rake/linked_list.rb +24 -15
- data/lib/rake/loaders/makefile.rb +5 -4
- data/lib/rake/multi_task.rb +2 -1
- data/lib/rake/name_space.rb +1 -1
- data/lib/rake/packagetask.rb +40 -17
- data/lib/rake/phony.rb +2 -1
- data/lib/rake/private_reader.rb +1 -0
- data/lib/rake/promise.rb +13 -12
- data/lib/rake/pseudo_status.rb +1 -0
- data/lib/rake/rake_module.rb +30 -1
- data/lib/rake/rake_test_loader.rb +9 -4
- data/lib/rake/rule_recursion_overflow_error.rb +2 -2
- data/lib/rake/scope.rb +3 -2
- data/lib/rake/task.rb +82 -31
- data/lib/rake/task_argument_error.rb +1 -0
- data/lib/rake/task_arguments.rb +15 -4
- data/lib/rake/task_manager.rb +56 -32
- data/lib/rake/tasklib.rb +2 -14
- data/lib/rake/testtask.rb +37 -61
- data/lib/rake/thread_history_display.rb +4 -3
- data/lib/rake/thread_pool.rb +16 -17
- data/lib/rake/trace_output.rb +2 -1
- data/lib/rake/version.rb +4 -1
- data/lib/rake/win32.rb +10 -15
- data/lib/rake.rb +34 -43
- data/rake.gemspec +101 -0
- metadata +24 -223
- data/.autotest +0 -7
- data/.rubocop.yml +0 -27
- data/.togglerc +0 -7
- data/CONTRIBUTING.rdoc +0 -38
- data/Manifest.txt +0 -166
- data/Rakefile +0 -81
- 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/alt_system.rb +0 -110
- data/lib/rake/contrib/.document +0 -1
- data/lib/rake/contrib/compositepublisher.rb +0 -21
- data/lib/rake/contrib/ftptools.rb +0 -137
- data/lib/rake/contrib/publisher.rb +0 -81
- data/lib/rake/contrib/rubyforgepublisher.rb +0 -18
- data/lib/rake/contrib/sshpublisher.rb +0 -61
- data/lib/rake/contrib/sys.rb +0 -4
- data/lib/rake/ext/module.rb +0 -2
- data/lib/rake/ext/pathname.rb +0 -25
- data/lib/rake/ext/time.rb +0 -18
- data/lib/rake/gempackagetask.rb +0 -4
- data/lib/rake/pathmap.rb +0 -3
- data/lib/rake/rdoctask.rb +0 -4
- data/lib/rake/ruby182_test_unit_fix.rb +0 -29
- data/lib/rake/runtest.rb +0 -27
- data/rakelib/publish.rake +0 -20
- data/rakelib/test_times.rake +0 -25
- data/test/file_creation.rb +0 -34
- data/test/helper.rb +0 -129
- data/test/support/rakefile_definitions.rb +0 -478
- data/test/support/ruby_runner.rb +0 -34
- data/test/test_private_reader.rb +0 -42
- data/test/test_rake.rb +0 -40
- data/test/test_rake_application.rb +0 -643
- data/test/test_rake_application_options.rb +0 -468
- data/test/test_rake_backtrace.rb +0 -119
- data/test/test_rake_clean.rb +0 -61
- data/test/test_rake_cpu_counter.rb +0 -68
- data/test/test_rake_definitions.rb +0 -84
- data/test/test_rake_directory_task.rb +0 -76
- 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 -670
- data/test/test_rake_file_list_path_map.rb +0 -8
- data/test/test_rake_file_task.rb +0 -197
- data/test/test_rake_file_utils.rb +0 -314
- data/test/test_rake_ftp_file.rb +0 -74
- data/test/test_rake_functional.rb +0 -482
- data/test/test_rake_invocation_chain.rb +0 -64
- data/test/test_rake_late_time.rb +0 -18
- data/test/test_rake_linked_list.rb +0 -84
- data/test/test_rake_makefile_loader.rb +0 -46
- data/test/test_rake_multi_task.rb +0 -64
- data/test/test_rake_name_space.rb +0 -57
- data/test/test_rake_package_task.rb +0 -79
- data/test/test_rake_path_map.rb +0 -168
- data/test/test_rake_path_map_explode.rb +0 -34
- data/test/test_rake_path_map_partial.rb +0 -18
- data/test/test_rake_pathname_extensions.rb +0 -15
- data/test/test_rake_pseudo_status.rb +0 -21
- data/test/test_rake_rake_test_loader.rb +0 -20
- data/test/test_rake_reduce_compat.rb +0 -26
- data/test/test_rake_require.rb +0 -40
- data/test/test_rake_rules.rb +0 -388
- data/test/test_rake_scope.rb +0 -44
- data/test/test_rake_task.rb +0 -393
- data/test/test_rake_task_argument_parsing.rb +0 -119
- data/test/test_rake_task_arguments.rb +0 -127
- data/test/test_rake_task_lib.rb +0 -9
- data/test/test_rake_task_manager.rb +0 -178
- data/test/test_rake_task_manager_argument_resolution.rb +0 -19
- data/test/test_rake_task_with_arguments.rb +0 -172
- data/test/test_rake_test_task.rb +0 -146
- data/test/test_rake_thread_pool.rb +0 -145
- 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 -101
- data/test/test_trace_output.rb +0 -52
data/README.rdoc
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
|
3
3
|
home :: https://github.com/ruby/rake
|
4
4
|
bugs :: https://github.com/ruby/rake/issues
|
5
|
-
docs ::
|
6
|
-
build :: {<img src="https://travis-ci.org/ruby/rake.svg?branch=master" alt="travis-ci">}[https://travis-ci.org/ruby/rake]
|
5
|
+
docs :: https://ruby.github.io/rake
|
7
6
|
|
8
7
|
== Description
|
9
8
|
|
@@ -24,9 +23,9 @@ Rake has the following features:
|
|
24
23
|
file names and paths.
|
25
24
|
|
26
25
|
* A library of prepackaged tasks to make building rakefiles easier. For example,
|
27
|
-
tasks for building tarballs
|
28
|
-
tasks for building RDoc and
|
29
|
-
available in RDoc and
|
26
|
+
tasks for building tarballs. (Formerly
|
27
|
+
tasks for building RDoc, Gems, and publishing to FTP were included in rake but they're now
|
28
|
+
available in RDoc, RubyGems, and rake-contrib respectively.)
|
30
29
|
|
31
30
|
* Supports parallel execution of tasks.
|
32
31
|
|
@@ -75,39 +74,40 @@ Type "rake --help" for all available options.
|
|
75
74
|
|
76
75
|
=== Rake Information
|
77
76
|
|
78
|
-
* {Rake command-line}[
|
79
|
-
* {Writing Rakefiles}[
|
80
|
-
* The original {Rake announcement}[
|
81
|
-
* Rake {glossary}[
|
77
|
+
* {Rake command-line}[link:doc/command_line_usage.rdoc]
|
78
|
+
* {Writing Rakefiles}[link:doc/rakefile.rdoc]
|
79
|
+
* The original {Rake announcement}[link:doc/rational.rdoc]
|
80
|
+
* Rake {glossary}[link:doc/glossary.rdoc]
|
82
81
|
|
83
82
|
=== Presentations and Articles about Rake
|
84
83
|
|
85
84
|
* Avdi Grimm's rake series:
|
86
|
-
1. {Rake Basics}[
|
87
|
-
2. {Rake File Lists}[
|
88
|
-
3. {Rake Rules}[
|
89
|
-
4. {Rake Pathmap}[
|
90
|
-
5. {File Operations}[
|
91
|
-
6. {Clean and Clobber}[
|
92
|
-
7. {MultiTask}[
|
93
|
-
* {Jim Weirich's 2003 RubyConf presentation}[
|
94
|
-
* Martin Fowler's article on Rake:
|
85
|
+
1. {Rake Basics}[https://avdi.codes/rake-part-1-basics/]
|
86
|
+
2. {Rake File Lists}[https://avdi.codes/rake-part-2-file-lists-2/]
|
87
|
+
3. {Rake Rules}[https://avdi.codes/rake-part-3-rules/]
|
88
|
+
4. {Rake Pathmap}[https://avdi.codes/rake-part-4-pathmap/]
|
89
|
+
5. {File Operations}[https://avdi.codes/rake-part-5-file-operations/]
|
90
|
+
6. {Clean and Clobber}[https://avdi.codes/rake-part-6-clean-and-clobber/]
|
91
|
+
7. {MultiTask}[https://avdi.codes/rake-part-7-multitask/]
|
92
|
+
* {Jim Weirich's 2003 RubyConf presentation}[https://web.archive.org/web/20140221123354/http://onestepback.org/articles/buildingwithrake/]
|
93
|
+
* Martin Fowler's article on Rake: https://martinfowler.com/articles/rake.html
|
95
94
|
|
96
95
|
== Other Make Re-envisionings ...
|
97
96
|
|
98
97
|
Rake is a late entry in the make replacement field. Here are links to
|
99
98
|
other projects with similar (and not so similar) goals.
|
100
99
|
|
101
|
-
*
|
100
|
+
* https://directory.fsf.org/wiki/Bras -- Bras, one of earliest
|
102
101
|
implementations of "make in a scripting language".
|
103
102
|
* http://www.a-a-p.org -- Make in Python
|
104
|
-
*
|
105
|
-
*
|
106
|
-
*
|
107
|
-
* http://www.rubydoc.info/gems/rant/0.5.7/frames -- Rant, another Ruby make tool.
|
103
|
+
* https://ant.apache.org -- The Ant project
|
104
|
+
* https://search.cpan.org/search?query=PerlBuildSystem -- The Perl Build System
|
105
|
+
* https://www.rubydoc.info/gems/rant/0.5.7/frames -- Rant, another Ruby make tool.
|
108
106
|
|
109
107
|
== Credits
|
110
108
|
|
109
|
+
[<b>Jim Weirich</b>] Who originally created Rake.
|
110
|
+
|
111
111
|
[<b>Ryan Dlugosz</b>] For the initial conversation that sparked Rake.
|
112
112
|
|
113
113
|
[<b>Nobuyoshi Nakada <nobu@ruby-lang.org></b>] For the initial patch for rule support.
|
@@ -116,6 +116,8 @@ other projects with similar (and not so similar) goals.
|
|
116
116
|
|
117
117
|
[<b>Eric Hodel</b>] For aid in maintaining rake.
|
118
118
|
|
119
|
+
[<b>Hiroshi SHIBATA</b>] Maintainer of Rake 10 and later
|
120
|
+
|
119
121
|
== License
|
120
122
|
|
121
123
|
Rake is available under an MIT-style license.
|
@@ -127,7 +129,7 @@ Rake is available under an MIT-style license.
|
|
127
129
|
= Other stuff
|
128
130
|
|
129
131
|
Author:: Jim Weirich <jim.weirich@gmail.com>
|
130
|
-
Requires:: Ruby
|
132
|
+
Requires:: Ruby 2.0.0 or later
|
131
133
|
License:: Copyright Jim Weirich.
|
132
134
|
Released under an MIT-style license. See the MIT-LICENSE
|
133
135
|
file included in the distribution.
|
@@ -137,3 +139,17 @@ License:: Copyright Jim Weirich.
|
|
137
139
|
This software is provided "as is" and without any express or implied
|
138
140
|
warranties, including, without limitation, the implied warranties of
|
139
141
|
merchantability and fitness for a particular purpose.
|
142
|
+
|
143
|
+
== Historical
|
144
|
+
|
145
|
+
Rake was originally created by Jim Weirich, who unfortunately passed away in
|
146
|
+
February 2014. This repository was originally hosted at
|
147
|
+
{github.com/jimweirich/rake}[https://github.com/jimweirich/rake/], however
|
148
|
+
with his passing, has been moved to {ruby/rake}[https://github.com/ruby/rake].
|
149
|
+
|
150
|
+
You can view Jim's last commit here:
|
151
|
+
https://github.com/jimweirich/rake/tree/336559f28f55bce418e2ebcc0a57548dcbac4025
|
152
|
+
|
153
|
+
You can {read more about Jim}[https://en.wikipedia.org/wiki/Jim_Weirich] at Wikipedia.
|
154
|
+
|
155
|
+
Thank you for this great tool, Jim. We'll remember you.
|
data/doc/jamis.rb
CHANGED
data/doc/rake.1
CHANGED
@@ -1,141 +1,156 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
.
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
.
|
19
|
-
|
20
|
-
.
|
21
|
-
\fBrake\fR [\fI\-f rakefile\fR] {\fIOPTIONS\fR} \fITARGETS...\fR
|
22
|
-
.br
|
23
|
-
.SH DESCRIPTION
|
24
|
-
.B rake
|
25
|
-
is a make-like build utility for Ruby. Tasks and dependencies are specified in
|
26
|
-
standard Ruby syntax.
|
27
|
-
.SH OPTIONS
|
28
|
-
.TP
|
29
|
-
\fB\-m\fR, \fB\-\-multitask\fR
|
1
|
+
.Dd June 12, 2016
|
2
|
+
.Dt RAKE 1
|
3
|
+
.Os rake 11.2.2
|
4
|
+
.Sh NAME
|
5
|
+
.Nm rake
|
6
|
+
.Nd make-like build utility for Ruby
|
7
|
+
.Sh SYNOPSIS
|
8
|
+
.Nm
|
9
|
+
.Op Fl f Ar rakefile
|
10
|
+
.Op Ar options
|
11
|
+
.Ar targets ...
|
12
|
+
.Sh DESCRIPTION
|
13
|
+
.Nm
|
14
|
+
is a
|
15
|
+
.Xr make 1 Ns -like
|
16
|
+
build utility for Ruby.
|
17
|
+
Tasks and dependencies are specified in standard Ruby syntax.
|
18
|
+
.Sh OPTIONS
|
19
|
+
.Bl -tag -width Ds
|
20
|
+
.It Fl m , Fl -multitask
|
30
21
|
Treat all tasks as multitasks.
|
31
|
-
.
|
32
|
-
\fB\-B\fR, \fB\-\-build\-all\fR
|
22
|
+
.It Fl B , Fl -build-all
|
33
23
|
Build all prerequisites, including those which are up\-to\-date.
|
34
|
-
|
35
|
-
.TP
|
36
|
-
\fB\-j\fR, \fB\-\-jobs\fR [\fINUMBER\fR]
|
24
|
+
.It Fl j , Fl -jobs Ar num_jobs
|
37
25
|
Specifies the maximum number of tasks to execute in parallel (default is number of CPU cores + 4).
|
38
|
-
|
39
|
-
.
|
40
|
-
.
|
41
|
-
|
42
|
-
Include
|
43
|
-
.
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
.
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
.
|
52
|
-
|
26
|
+
.El
|
27
|
+
.Ss Modules
|
28
|
+
.Bl -tag -width Ds
|
29
|
+
.It Fl I , Fl -libdir Ar libdir
|
30
|
+
Include
|
31
|
+
.Ar libdir
|
32
|
+
in the search path for required modules.
|
33
|
+
.It Fl r , Fl -require Ar module
|
34
|
+
Require
|
35
|
+
.Ar module
|
36
|
+
before executing
|
37
|
+
.Pa rakefile .
|
38
|
+
.El
|
39
|
+
.Ss Rakefile location
|
40
|
+
.Bl -tag -width Ds
|
41
|
+
.It Fl f , Fl -rakefile Ar filename
|
42
|
+
Use
|
43
|
+
.Ar filename
|
44
|
+
as the rakefile to search for.
|
45
|
+
.It Fl N , Fl -no-search , Fl -nosearch
|
53
46
|
Do not search parent directories for the Rakefile.
|
54
|
-
.
|
55
|
-
\fB\-G\fR, \fB\-\-no\-system\fR, \fB\-\-nosystem\fR
|
47
|
+
.It Fl G , Fl -no-system , Fl -nosystem
|
56
48
|
Use standard project Rakefile search paths, ignore system wide rakefiles.
|
57
|
-
.
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
.
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
.
|
67
|
-
.
|
68
|
-
|
69
|
-
Enable full backtrace.
|
70
|
-
.
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
.
|
77
|
-
|
49
|
+
.It Fl R , Fl -rakelib Ar rakelibdir , Fl -rakelibdir Ar rakelibdir
|
50
|
+
Auto-import any .rake files in
|
51
|
+
.Ar rakelibdir
|
52
|
+
(default is
|
53
|
+
.Sq rakelib )
|
54
|
+
.It Fl g , Fl -system
|
55
|
+
Use system-wide (global) rakefiles (usually
|
56
|
+
.Pa ~/.rake/*.rake ) .
|
57
|
+
.El
|
58
|
+
.Ss Debugging
|
59
|
+
.Bl -tag -width Ds
|
60
|
+
.It Fl -backtrace Ns = Ns Ar out
|
61
|
+
Enable full backtrace.
|
62
|
+
.Ar out
|
63
|
+
can be
|
64
|
+
.Dv stderr
|
65
|
+
(default) or
|
66
|
+
.Dv stdout .
|
67
|
+
.It Fl t , Fl -trace Ns = Ns Ar out
|
68
|
+
Turn on invoke/execute tracing, enable full backtrace.
|
69
|
+
.Ar out
|
70
|
+
can be
|
71
|
+
.Dv stderr
|
72
|
+
(default) or
|
73
|
+
.Dv stdout .
|
74
|
+
.It Fl -suppress-backtrace Ar pattern
|
75
|
+
Suppress backtrace lines matching regexp
|
76
|
+
.Ar pattern .
|
77
|
+
Ignored if
|
78
|
+
.Fl -trace
|
79
|
+
is on.
|
80
|
+
.It Fl -rules
|
78
81
|
Trace the rules resolution.
|
79
|
-
|
80
|
-
.TP
|
81
|
-
\fB\-n\fR, \fB\-\-dry\-run\fR
|
82
|
+
.It Fl n , Fl -dry-run
|
82
83
|
Do a dry run without executing actions.
|
83
|
-
.
|
84
|
-
|
85
|
-
|
86
|
-
.
|
87
|
-
|
88
|
-
Describe the tasks (matching optional
|
89
|
-
.
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
84
|
+
.It Fl T , Fl -tasks Op Ar pattern
|
85
|
+
Display the tasks (matching optional
|
86
|
+
.Ar pattern )
|
87
|
+
with descriptions, then exit.
|
88
|
+
.It Fl D , Fl -describe Op Ar pattern
|
89
|
+
Describe the tasks (matching optional
|
90
|
+
.Ar pattern ) ,
|
91
|
+
then exit.
|
92
|
+
.It Fl W , Fl -where Op Ar pattern
|
93
|
+
Describe the tasks (matching optional
|
94
|
+
.Ar pattern ) ,
|
95
|
+
then exit.
|
96
|
+
.It Fl P , Fl -prereqs
|
94
97
|
Display the tasks and dependencies, then exit.
|
95
|
-
|
96
|
-
.TP
|
97
|
-
\fB\-e\fR, \fB\-\-execute\fR \fICODE\fR
|
98
|
+
.It Fl e , Fl -execute Ar code
|
98
99
|
Execute some Ruby code and exit.
|
99
|
-
.
|
100
|
-
\fB\-p\fR, \fB\-\-execute\-print\fR \fICODE\fR
|
100
|
+
.It Fl p , Fl -execute-print Ar code
|
101
101
|
Execute some Ruby code, print the result, then exit.
|
102
|
-
.
|
103
|
-
\fB\-E\fR, \fB\-\-execute\-continue\fR \fICODE\fR
|
102
|
+
.It Fl E , Fl -execute-continue Ar code
|
104
103
|
Execute some Ruby code, then continue with normal task processing.
|
105
|
-
|
106
|
-
.
|
107
|
-
.
|
108
|
-
|
104
|
+
.El
|
105
|
+
.Ss Information
|
106
|
+
.Bl -tag -width Ds
|
107
|
+
.It Fl v , Fl -verbose
|
109
108
|
Log message to standard output.
|
110
|
-
.
|
111
|
-
\fB\-q\fR, \fB\-\-quiet\fR
|
109
|
+
.It Fl q , Fl -quiet
|
112
110
|
Do not log messages to standard output.
|
113
|
-
.
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
111
|
+
.It Fl s , Fl -silent
|
112
|
+
Like
|
113
|
+
.Fl -quiet ,
|
114
|
+
but also suppresses the
|
115
|
+
.Sq in directory
|
116
|
+
announcement.
|
117
|
+
.It Fl X , Fl -no-deprecation-warnings
|
118
118
|
Disable the deprecation warnings.
|
119
|
-
.
|
120
|
-
\fB\-\-comments\fR
|
119
|
+
.It Fl -comments
|
121
120
|
Show commented tasks only
|
122
|
-
.
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
.
|
129
|
-
|
121
|
+
.It Fl A , Fl -all
|
122
|
+
Show all tasks, even uncommented ones (in combination with
|
123
|
+
.Fl T
|
124
|
+
or
|
125
|
+
.Fl D )
|
126
|
+
.It Fl -job-stats Op Ar level
|
127
|
+
Display job statistics.
|
128
|
+
If
|
129
|
+
.Ar level
|
130
|
+
is
|
131
|
+
.Sq history ,
|
132
|
+
displays a complete job list.
|
133
|
+
.It Fl V , Fl -version
|
130
134
|
Display the program version.
|
131
|
-
.
|
132
|
-
\fB\-h\fR, \fB\-H\fR, \fB\-\-help\fR
|
135
|
+
.It Fl h , Fl H , Fl -help
|
133
136
|
Display a help message.
|
134
|
-
|
135
|
-
.
|
136
|
-
The complete documentation for
|
137
|
-
.
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
137
|
+
.El
|
138
|
+
.Sh SEE ALSO
|
139
|
+
The complete documentation for
|
140
|
+
.Nm rake
|
141
|
+
has been installed at
|
142
|
+
.Pa /usr/share/doc/rake-doc/html/index.html .
|
143
|
+
It is also available online at
|
144
|
+
.Lk https://ruby.github.io/rake .
|
145
|
+
.Sh AUTHORS
|
146
|
+
.An -nosplit
|
147
|
+
.Nm
|
148
|
+
was written by
|
149
|
+
.An Jim Weirich Aq Mt jim@weirichhouse.org .
|
150
|
+
.Pp
|
151
|
+
This manual was created by
|
152
|
+
.An Caitlin Matos Aq Mt caitlin.matos@zoho.com
|
153
|
+
for the Debian project (but may be used by others).
|
154
|
+
It was inspired by the manual by
|
155
|
+
.An Jani Monoses Aq Mt jani@iv.ro
|
156
|
+
for the Ubuntu project.
|
data/doc/rakefile.rdoc
CHANGED
@@ -223,9 +223,7 @@ behaviour can now accept a second parameter:
|
|
223
223
|
The first argument of the block "t" is always bound to the current
|
224
224
|
task object. The second argument "args" is an open-struct like object
|
225
225
|
that allows access to the task arguments. Extra command line
|
226
|
-
arguments to a task are ignored.
|
227
|
-
picked up from matching environment variables. If there are no
|
228
|
-
matching environment variables, they are given the nil value.
|
226
|
+
arguments to a task are ignored.
|
229
227
|
|
230
228
|
If you wish to specify default values for the arguments, you can use
|
231
229
|
the with_defaults method in the task body. Here is the above example
|
@@ -412,7 +410,7 @@ display a list of tasks that have a description. If you use +desc+ to
|
|
412
410
|
describe your major tasks, you have a semi-automatic way of generating
|
413
411
|
a summary of your Rake file.
|
414
412
|
|
415
|
-
|
413
|
+
$ rake -T
|
416
414
|
(in /home/.../rake)
|
417
415
|
rake clean # Remove any temporary products.
|
418
416
|
rake clobber # Remove any generated file.
|