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.

Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +51 -12
  3. data/.travis.yml +2 -9
  4. data/Gemfile +1 -1
  5. data/History.rdoc +41 -29
  6. data/README.rdoc +4 -5
  7. data/Rakefile +18 -13
  8. data/appveyor.yml +6 -7
  9. data/doc/rake.1 +139 -124
  10. data/doc/rakefile.rdoc +1 -3
  11. data/exe/rake +1 -1
  12. data/lib/rake.rb +33 -33
  13. data/lib/rake/application.rb +68 -67
  14. data/lib/rake/backtrace.rb +2 -2
  15. data/lib/rake/clean.rb +4 -3
  16. data/lib/rake/cpu_counter.rb +1 -1
  17. data/lib/rake/dsl_definition.rb +1 -1
  18. data/lib/rake/ext/string.rb +21 -21
  19. data/lib/rake/file_creation_task.rb +2 -2
  20. data/lib/rake/file_list.rb +8 -10
  21. data/lib/rake/file_task.rb +2 -2
  22. data/lib/rake/file_utils.rb +7 -10
  23. data/lib/rake/file_utils_ext.rb +3 -3
  24. data/lib/rake/late_time.rb +1 -1
  25. data/lib/rake/loaders/makefile.rb +4 -4
  26. data/lib/rake/multi_task.rb +36 -0
  27. data/lib/rake/name_space.rb +0 -1
  28. data/lib/rake/packagetask.rb +10 -10
  29. data/lib/rake/phony.rb +1 -1
  30. data/lib/rake/promise.rb +10 -10
  31. data/lib/rake/rake_module.rb +1 -1
  32. data/lib/rake/rake_test_loader.rb +1 -1
  33. data/lib/rake/rule_recursion_overflow_error.rb +1 -1
  34. data/lib/rake/scope.rb +1 -1
  35. data/lib/rake/task.rb +13 -14
  36. data/lib/rake/task_arguments.rb +8 -4
  37. data/lib/rake/task_manager.rb +5 -18
  38. data/lib/rake/tasklib.rb +1 -1
  39. data/lib/rake/testtask.rb +26 -16
  40. data/lib/rake/thread_history_display.rb +3 -3
  41. data/lib/rake/thread_pool.rb +14 -14
  42. data/lib/rake/version.rb +2 -2
  43. data/lib/rake/win32.rb +8 -8
  44. data/rake.gemspec +15 -6
  45. metadata +20 -68
  46. data/doc/release_notes/README.md +0 -4
  47. data/doc/release_notes/rake-0.4.14.rdoc +0 -23
  48. data/doc/release_notes/rake-0.4.15.rdoc +0 -35
  49. data/doc/release_notes/rake-0.5.0.rdoc +0 -53
  50. data/doc/release_notes/rake-0.5.3.rdoc +0 -78
  51. data/doc/release_notes/rake-0.5.4.rdoc +0 -46
  52. data/doc/release_notes/rake-0.6.0.rdoc +0 -141
  53. data/doc/release_notes/rake-0.7.0.rdoc +0 -119
  54. data/doc/release_notes/rake-0.7.1.rdoc +0 -59
  55. data/doc/release_notes/rake-0.7.2.rdoc +0 -121
  56. data/doc/release_notes/rake-0.7.3.rdoc +0 -47
  57. data/doc/release_notes/rake-0.8.0.rdoc +0 -114
  58. data/doc/release_notes/rake-0.8.2.rdoc +0 -165
  59. data/doc/release_notes/rake-0.8.3.rdoc +0 -112
  60. data/doc/release_notes/rake-0.8.4.rdoc +0 -147
  61. data/doc/release_notes/rake-0.8.5.rdoc +0 -53
  62. data/doc/release_notes/rake-0.8.6.rdoc +0 -37
  63. data/doc/release_notes/rake-0.8.7.rdoc +0 -55
  64. data/doc/release_notes/rake-0.9.0.rdoc +0 -112
  65. data/doc/release_notes/rake-0.9.1.rdoc +0 -52
  66. data/doc/release_notes/rake-0.9.2.2.rdoc +0 -55
  67. data/doc/release_notes/rake-0.9.2.rdoc +0 -49
  68. data/doc/release_notes/rake-0.9.3.rdoc +0 -102
  69. data/doc/release_notes/rake-0.9.4.rdoc +0 -60
  70. data/doc/release_notes/rake-0.9.5.rdoc +0 -55
  71. data/doc/release_notes/rake-0.9.6.rdoc +0 -64
  72. data/doc/release_notes/rake-10.0.0.rdoc +0 -178
  73. data/doc/release_notes/rake-10.0.1.rdoc +0 -58
  74. data/doc/release_notes/rake-10.0.2.rdoc +0 -53
  75. data/doc/release_notes/rake-10.0.3.rdoc +0 -191
  76. data/doc/release_notes/rake-10.1.0.rdoc +0 -61
  77. data/lib/rake/contrib/compositepublisher.rb +0 -21
  78. data/lib/rake/contrib/ftptools.rb +0 -137
  79. data/lib/rake/contrib/sshpublisher.rb +0 -60
  80. data/lib/rake/ext/pathname.rb +0 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 184b8d40ba4318206ffb77ecbec59f404f79c3a4
4
- data.tar.gz: 34df138dc05774d528519aaf2de75d5af73009e9
3
+ metadata.gz: 7a2ad30b1c047b07f92723581ef8569bc40463b7
4
+ data.tar.gz: b92a7aee36f6319bd904831475bdc1fdbbd17a90
5
5
  SHA512:
6
- metadata.gz: 5e21c0877242d27258e08ac9262cba80c6d14950cfb777c899e412872e53bcc52f39e5eb705fda4dfbbd0cdfa8fb208d642473c82158794fe8c80c698c9a3daf
7
- data.tar.gz: 30ec40ec21a545bd2006118b0dc661fa5579a6309a79630b0856a05f19aeaf38e46f181d1f7fd17aaf101641292503494374902adb6fd99785a5775f2eb83d76
6
+ metadata.gz: f23ce6c0ac605c2e818b734df7f67ad7c0e34bdde880735723f18cefc79313b6df0ea178cb29cb09099a1fa0473a740a60624bf0d60954ae0161b64052855448
7
+ data.tar.gz: 3aea3dffbfe317a004c2c51ca73aed5b2ffbf4c0bdf40673d56d72846679b5d6a87c3ab9ff0b2ba55f4204a9df2e13c7ef6ee494f71647135046869a3e724250
@@ -1,18 +1,57 @@
1
- StringLiterals:
2
- Enabled: false
1
+ AllCops:
2
+ TargetRubyVersion: 2.3
3
+ DisabledByDefault: true
4
+ Exclude:
5
+ - doc/**/*.rb
6
+ - rake.gemspec
3
7
 
4
- SpaceAroundEqualsInParameterDefault:
5
- Enabled: false
8
+ Style/LineLength:
9
+ Enabled: true
10
+ Max: 120
11
+
12
+ Style/HashSyntax:
13
+ Enabled: true
14
+
15
+ Style/StringLiterals:
16
+ Enabled: true
17
+ EnforcedStyle: double_quotes
18
+
19
+ Style/IndentationWidth:
20
+ Enabled: true
21
+
22
+ Style/Tab:
23
+ Enabled: true
24
+
25
+ Style/EmptyLines:
26
+ Enabled: true
27
+
28
+ Style/TrailingBlankLines:
29
+ Enabled: true
6
30
 
7
- HashSyntax:
8
- Enabled: false
31
+ Style/TrailingWhitespace:
32
+ Enabled: true
33
+
34
+ Style/SpaceBeforeBlockBraces:
35
+ Enabled: true
9
36
 
10
- LineLength:
37
+ Style/SpaceInsideBlockBraces:
11
38
  Enabled: true
12
- Max: 90
13
39
 
14
- WhileUntilModifier:
15
- Enabled: false
40
+ Style/SpaceInsideHashLiteralBraces:
41
+ Enabled: true
16
42
 
17
- IfUnlessModifier:
18
- Enabled: false
43
+ Style/CaseIndentation:
44
+ Enabled: true
45
+
46
+ Style/MultilineIfThen:
47
+ Enabled: true
48
+
49
+ Style/MethodDefParentheses:
50
+ Enabled: true
51
+
52
+ Style/BracesAroundHashParameters:
53
+ Enabled: true
54
+
55
+ Lint/EndAlignment:
56
+ Enabled: true
57
+ AlignWith: variable
@@ -8,20 +8,13 @@ rvm:
8
8
  - 2.3.1
9
9
  - ruby-head
10
10
  - jruby-1.7.20
11
- - jruby-9.0.5.0
12
- - jruby-9.1.0.0
11
+ - jruby-9.1.5.0
13
12
  - jruby-head
14
- - rbx-2
15
- - rbx
16
13
  before_install:
17
- - gem update bundler --no-document
14
+ - gem install bundler --no-document -v '~> 1.13.3'
18
15
  before_script:
19
16
  - unset JRUBY_OPTS
20
17
  script: ruby -Ilib exe/rake
21
- matrix:
22
- allow_failures:
23
- - rvm: jruby-head
24
- - rvm: rbx
25
18
  notifications:
26
19
  email:
27
20
  - hsbt@ruby-lang.org
data/Gemfile CHANGED
@@ -1,3 +1,3 @@
1
- source 'https://rubygems.org'
1
+ source "https://rubygems.org"
2
2
 
3
3
  gemspec
@@ -1,24 +1,37 @@
1
+ === 12.0.0(dev)
2
+
3
+ ==== Compatibility Changes
4
+
5
+ * Remove arguments on clear #157 by Jesse Bowes
6
+ * Removed `rake/contrib` packages. These are extracted to `rake-contrib` gem.
7
+ * Removed to deprecated warnings for `last\_comment`.
8
+
9
+ ==== Enhancements:
10
+
11
+ * Re-use trace option on `cleanup` task. #164 by Brian Henderson
12
+ * Actions adore keyword arguments #174 by Josh Cheek
13
+
1
14
  === 11.3.0 / 2016-09-20
2
15
 
3
- Enhancements:
16
+ ==== Enhancements:
4
17
 
5
18
  * Remove to reference `Fixnum` constant. Pull request #160 by nobu
6
19
 
7
20
  === 11.2.2 / 2016-06-12
8
21
 
9
- Bug fixes:
22
+ ==== Bug fixes
10
23
 
11
24
  * Fix unexpected behavior with multiple dependencies on Rake::TestTask
12
25
 
13
26
  === 11.2.1 / 2016-06-12
14
27
 
15
- Bug fixes:
28
+ ==== Bug fixes
16
29
 
17
30
  * Fix regression of dependencies handling on Rake::TestTask. Report #139
18
31
 
19
32
  === 11.2.0 / 2016-06-11
20
33
 
21
- Bug fixes:
34
+ ==== Bug fixes
22
35
 
23
36
  * Fix unexpected cut-out behavior on task description using triple dots
24
37
  and exclamation. Report #106 from Stephan Kämper and Pull request #134 by Lee
@@ -26,7 +39,7 @@ Bug fixes:
26
39
  by bakunyo
27
40
  * Ignore to use `hwprefs` on Darwin platform. Use sysctl now. Report #128
28
41
 
29
- Enhancements:
42
+ ==== Enhancements
30
43
 
31
44
  * Spawn options for sh Pull equest #138 by Eric Hodel.
32
45
  * Allow to specify dependencies(prerequisites) for Rake::TestTask
@@ -38,39 +51,39 @@ Enhancements:
38
51
 
39
52
  === 11.1.2 / 2016-03-28
40
53
 
41
- Bug fixes:
54
+ ==== Bug fixes
42
55
 
43
56
  * Remove `-W` option when Rake::TestTask#verbose enabled. It's misunderstanding
44
57
  specification change with Rake 11. Partly revert #67
45
58
 
46
59
  === 11.1.1 / 2016-03-14
47
60
 
48
- Bug fixes:
61
+ ==== Bug fixes
49
62
 
50
63
  * Use `-W` instead of `--verbose` when Rake::TestTask#verbose enabled.
51
64
  JRuby doesn't have `--verbose` option.
52
65
 
53
66
  === 11.1.0 / 2016-03-11
54
67
 
55
- Compatibility Changes:
68
+ ==== Compatibility Changes
56
69
 
57
70
  * Revert to remove `last\_comment`. It will remove Rake 12.
58
71
 
59
72
  === 11.0.1 / 2016-03-09
60
73
 
61
- Bug fixes:
74
+ ==== Bug fixes
62
75
 
63
76
  * Fixed packaging manifest.
64
77
 
65
78
  === 11.0.0 / 2016-03-09
66
79
 
67
- Bug fixes:
80
+ ==== Bug fixes
68
81
 
69
82
  * Correctly handle bad encoding in exception messages. Pull request #113
70
83
  by Tomer Brisker
71
84
  * Fix verbose option at TestTask. Pull request #67 by Mike Blumtritt
72
85
 
73
- Enhancements:
86
+ ==== Enhancements
74
87
 
75
88
  * Make FileList#exclude more analogous to FileList#include.
76
89
  * Use IO.open instead of Open3.popen3 for CPU counter.
@@ -84,7 +97,7 @@ Enhancements:
84
97
  Pull request #12 by Chris Keathley
85
98
  * Use ruby warnings by default. Pull request #97 by Harold Giménez
86
99
 
87
- Compatibility Changes:
100
+ ==== Compatibility Changes
88
101
 
89
102
  * Removed to support Ruby 1.8.x
90
103
  * Removed constant named `RAKEVERSION`
@@ -98,7 +111,7 @@ Compatibility Changes:
98
111
 
99
112
  === 10.5.0 / 2016-01-13
100
113
 
101
- Enhancements:
114
+ ==== Enhancements
102
115
 
103
116
  * Removed monkey patching for Ruby 1.8. Pull request #46 by Pablo Herrero.
104
117
  * Inheritance class of Rake::FileList returns always self class.
@@ -106,7 +119,7 @@ Enhancements:
106
119
 
107
120
  === 10.4.2 / 2014-12-02
108
121
 
109
- Bug fixes:
122
+ ==== Bug fixes
110
123
 
111
124
  * Rake no longer edits ARGV. This allows you to re-exec rake from a rake
112
125
  task. Pull requset #9 by Matt Palmer.
@@ -117,14 +130,14 @@ Bug fixes:
117
130
 
118
131
  === 10.4.1 / 2014-12-01
119
132
 
120
- Bug fixes:
133
+ ==== Bug fixes
121
134
 
122
135
  * Reverted fix for #277 as it caused numerous issues for rake users.
123
136
  rails/spring issue #366 by Gustavo Dutra.
124
137
 
125
138
  === 10.4.0 / 2014-11-22
126
139
 
127
- Enhancements:
140
+ ==== Enhancements
128
141
 
129
142
  * Upgraded to minitest 5. Pull request #292 by Teo Ljungberg.
130
143
  * Added support for Pathname in rake tasks. Pull request #271 by Randy
@@ -135,7 +148,7 @@ Enhancements:
135
148
  task. Issue #277 by Matt Palmer.
136
149
  * Etc.nprocessors is used for counting the number of CPUs.
137
150
 
138
- Bug fixes:
151
+ ==== Bug fixes
139
152
 
140
153
  * Updated rake manpage. Issue #283 by Nathan Long, pull request #291 by
141
154
  skittleys.
@@ -148,7 +161,7 @@ Bug fixes:
148
161
 
149
162
  === 10.3.2 / 2014-05-15
150
163
 
151
- Bug fixes:
164
+ ==== Bug fixes
152
165
 
153
166
  * Rake no longer infinitely loops when showing exception causes that refer to
154
167
  each other. Bug #272 by Chris Bandy.
@@ -156,7 +169,7 @@ Bug fixes:
156
169
 
157
170
  === 10.3.1 / 2014-04-17
158
171
 
159
- Bug fixes:
172
+ ==== Bug fixes
160
173
 
161
174
  * Really stop reporting an error when cleaning already-deleted files. Pull
162
175
  request #269 by Randy Coulman
@@ -164,13 +177,13 @@ Bug fixes:
164
177
 
165
178
  === 10.3 / 2014-04-15
166
179
 
167
- Enhancements:
180
+ ==== Enhancements
168
181
 
169
182
  * Added --build-all option to rake which treats all file prerequisites as
170
183
  out-of-date. Pull request #254 by Andrew Gilbert.
171
184
  * Added Rake::NameSpace#scope. Issue #263 by Jon San Miguel.
172
185
 
173
- Bug fixes:
186
+ ==== Bug fixes
174
187
 
175
188
  * Suppress org.jruby package files in rake error messages for JRuby users.
176
189
  Issue #213 by Charles Nutter.
@@ -182,13 +195,13 @@ Bug fixes:
182
195
 
183
196
  === 10.2.2 / 2014-03-27
184
197
 
185
- Bug fixes:
198
+ ==== Bug fixes
186
199
 
187
200
  * Restored Ruby 1.8.7 compatibility
188
201
 
189
202
  === 10.2.1 / 2014-03-25
190
203
 
191
- Bug fixes:
204
+ ==== Bug fixes
192
205
 
193
206
  * File tasks including a ':' are now top-level tasks again. Issue #262 by
194
207
  Josh Holtrop.
@@ -197,7 +210,7 @@ Bug fixes:
197
210
 
198
211
  === 10.2.0 / 2014-03-24
199
212
 
200
- Enhancements:
213
+ ==== Enhancements
201
214
 
202
215
  * Rake now requires Ruby 1.9 or newer. For me, this is a breaking change, but
203
216
  it seems that Jim planned to release it with Rake 10.2. See also pull
@@ -215,7 +228,7 @@ Enhancements:
215
228
  Filip Hrbek.
216
229
  * Rake now prints the exception class on errors. Patch #251 by David Cornu.
217
230
 
218
- Bug fixes:
231
+ ==== Bug fixes
219
232
 
220
233
  * Fixed typos. Pull request #256 by Valera Rozuvan, #250 via Jake Worth, #260
221
234
  by Zachary Scott.
@@ -227,11 +240,10 @@ Bug fixes:
227
240
  * Fixed bug in can\_detect\_signals? in test. Patch from #243 by Alexey
228
241
  Borzenkov.
229
242
 
230
- === 10.1.1 and earlier
243
+ === 10.1.1
231
244
 
232
- Additions to the old CHANGES file were not made consistently so some
233
- versions are missing from this file. These changes are usually described in
234
- the individual release notes files.
245
+ * Use http://github.com/jimweirich/rake instead of http://rake.rubyforge.org for
246
+ canonical project url.
235
247
 
236
248
  === 10.1.0
237
249
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  home :: https://github.com/ruby/rake
4
4
  bugs :: https://github.com/ruby/rake/issues
5
- docs :: http://docs.seattlerb.org/rake/
5
+ docs :: https://ruby.github.io/rake
6
6
  build status :: {<img src="https://travis-ci.org/ruby/rake.svg?branch=master" alt="travis-ci">}[https://travis-ci.org/ruby/rake] {<img src="https://ci.appveyor.com/api/projects/status/github/ruby/rake?branch=master&svg=true" alt="appveyor">}[https://ci.appveyor.com/project/ruby/rake]
7
7
 
8
8
  == Description
@@ -24,9 +24,9 @@ Rake has the following features:
24
24
  file names and paths.
25
25
 
26
26
  * A library of prepackaged tasks to make building rakefiles easier. For example,
27
- tasks for building tarballs and publishing to FTP or SSH sites. (Formerly
28
- tasks for building RDoc and Gems were included in rake but they're now
29
- available in RDoc and RubyGems respectively.)
27
+ tasks for building tarballs. (Formerly
28
+ tasks for building RDoc, Gems and publishing to FTP were included in rake but they're now
29
+ available in RDoc, RubyGems and respectively.)
30
30
 
31
31
  * Supports parallel execution of tasks.
32
32
 
@@ -101,7 +101,6 @@ other projects with similar (and not so similar) goals.
101
101
  * http://directory.fsf.org/wiki/Bras -- Bras, one of earliest
102
102
  implementations of "make in a scripting language".
103
103
  * http://www.a-a-p.org -- Make in Python
104
- * http://www.aromatic.com/tools/jam.txt -- JAM, Java Automated Make
105
104
  * http://ant.apache.org -- The Ant project
106
105
  * http://search.cpan.org/search?query=PerlBuildSystem -- The Perl Build System
107
106
  * http://www.rubydoc.info/gems/rant/0.5.7/frames -- Rant, another Ruby make tool.
data/Rakefile CHANGED
@@ -6,28 +6,33 @@
6
6
  # This file may be distributed under an MIT style license. See
7
7
  # MIT-LICENSE for details.
8
8
 
9
- lib = File.expand_path('../lib', __FILE__)
9
+ lib = File.expand_path("../lib", __FILE__)
10
10
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
11
11
 
12
-
13
- # XXX: https://github.com/bundler/bundler/pull/4981
14
- require 'bundler/plugin/api/source'
15
-
16
- require 'bundler/gem_tasks'
17
- require 'rake/testtask'
18
- require 'rdoc/task'
12
+ require "bundler/gem_tasks"
13
+ require "rake/testtask"
14
+ require "rdoc/task"
19
15
 
20
16
  Rake::TestTask.new(:test) do |t|
21
17
  t.libs << "test"
22
18
  t.verbose = true
23
- t.test_files = FileList['test/**/test_*.rb']
19
+ t.test_files = FileList["test/**/test_*.rb"]
24
20
  end
25
21
 
26
22
  RDoc::Task.new do |doc|
27
- doc.main = 'README.rdoc'
28
- doc.title = 'Rake -- Ruby Make'
23
+ doc.main = "README.rdoc"
24
+ doc.title = "Rake -- Ruby Make"
29
25
  doc.rdoc_files = FileList.new %w[lib MIT-LICENSE doc/**/*.rdoc *.rdoc]
30
- doc.rdoc_dir = 'html'
26
+ doc.rdoc_dir = "html"
27
+ end
28
+
29
+ task ghpages: :rdoc do
30
+ `git checkout gh-pages`
31
+ require "fileutils"
32
+ FileUtils.rm_rf "/tmp/html"
33
+ FileUtils.mv "html", "/tmp"
34
+ FileUtils.rm_rf "*"
35
+ FileUtils.cp_r Dir.glob("/tmp/html/*"), "."
31
36
  end
32
37
 
33
- task :default => :test
38
+ task default: :test
@@ -1,16 +1,13 @@
1
1
  ---
2
- version: "{build}"
3
2
  clone_depth: 10
4
3
  install:
5
4
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
6
- - ruby --version
7
- - gem --version
8
- - gem install minitest bundler --no-document
9
- build_script:
10
- - net user
11
- - net localgroup
5
+ - gem install bundler --no-document
6
+ - bundle install
7
+ build: off
12
8
  test_script:
13
9
  - ruby -Ilib exe/rake
10
+ deploy: off
14
11
  environment:
15
12
  matrix:
16
13
  - ruby_version: "193"
@@ -20,3 +17,5 @@ environment:
20
17
  - ruby_version: "21-x64"
21
18
  - ruby_version: "22"
22
19
  - ruby_version: "22-x64"
20
+ - ruby_version: "23"
21
+ - ruby_version: "23-x64"
data/doc/rake.1 CHANGED
@@ -1,141 +1,156 @@
1
- .\" Hey, EMACS: -*- nroff -*-
2
- .\" First parameter, NAME, should be all caps
3
- .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
4
- .\" other parameters are allowed: see man(7), man(1)
5
- .TH RAKE 1 "December 3, 2014" "rake 10.4.2" "Rake User Commands"
6
- .\" Please adjust this date whenever revising the manpage.
7
- .\"
8
- .\" Some roff macros, for reference:
9
- .\" .nh disable hyphenation
10
- .\" .hy enable hyphenation
11
- .\" .ad l left justify
12
- .\" .ad b justify to both left and right margins
13
- .\" .nf disable filling
14
- .\" .fi enable filling
15
- .\" .br insert line break
16
- .\" .sp <n> insert n+1 empty lines
17
- .\" for manpage-specific macros, see man(7)
18
- .SH NAME
19
- rake \- a make-like build utility for Ruby
20
- .SH SYNOPSIS
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
- .TP
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
- .SS Modules
40
- .TP
41
- \fB\-I\fR, \fB\-\-libdir\fR \fILIBDIR\fR
42
- Include \fILIBDIR\fR in the search path for required modules.
43
- .TP
44
- \fB\-r\fR, \fB\-\-require\fR \fIMODULE\fR
45
- Require \fIMODULE\fR before executing rakefile.
46
-
47
- .SS Rakefile location
48
- .TP
49
- \fB\-f\fR, \fB\-\-rakefile\fR [\fIFILENAME\fR]
50
- Use \fIFILENAME\fR as the rakefile to search for.
51
- .TP
52
- \fB\-N\fR, \fB\-\-no\-search\fR, \fB\-\-nosearch\fR
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
- .TP
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
- .TP
58
- \fB\-R\fR, \fB\-\-rakelibdir\fR \fIRAKELIBDIR\fR
59
- Auto\-import any .rake files in \fIRAKELIBDIR\fR (default is 'rakelib')
60
- .HP
61
- \fB\-\-rakelib\fR
62
- .TP
63
- \fB\-g\fR, \fB\-\-system\fR
64
- Using system wide (global) rakefiles (usually '\fI~/.rake/*.rake\fR').
65
-
66
- .SS Debugging
67
- .TP
68
- \fB\-\-backtrace\fR=\fI\,[OUT]\/\fR
69
- Enable full backtrace. \fIOUT\fR can be stderr (default) or stdout.
70
- .TP
71
- \fB\-t\fR, \fB\-\-trace\fR=\fI\,[OUT]\/\fR
72
- Turn on invoke/execute tracing, enable full backtrace. \fIOUT\fR can be stderr (default) or stdout.
73
- .TP
74
- \fB\-\-suppress\-backtrace\fR \fIPATTERN\fR
75
- Suppress backtrace lines matching regexp \fIPATTERN\fR. Ignored if \fI\-\-trace\fR is on.
76
- .TP
77
- \fB\-\-rules\fR
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
- .TP
84
- \fB\-T\fR, \fB\-\-tasks\fR [\fIPATTERN\fR]
85
- Display the tasks (matching optional \fIPATTERN\fR) with descriptions, then exit.
86
- .TP
87
- \fB\-D\fR, \fB\-\-describe\fR [\fIPATTERN\fR]
88
- Describe the tasks (matching optional \fIPATTERN\fR), then exit.
89
- .TP
90
- \fB\-W\fR, \fB\-\-where\fR [\fIPATTERN\fR]
91
- Describe the tasks (matching optional \fIPATTERN\fR), then exit.
92
- .TP
93
- \fB\-P\fR, \fB\-\-prereqs\fR
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
- .TP
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
- .TP
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
- .SS Information
107
- .TP
108
- \fB\-v\fR, \fB\-\-verbose\fR
104
+ .El
105
+ .Ss Information
106
+ .Bl -tag -width Ds
107
+ .It Fl v , Fl -verbose
109
108
  Log message to standard output.
110
- .TP
111
- \fB\-q\fR, \fB\-\-quiet\fR
109
+ .It Fl q , Fl -quiet
112
110
  Do not log messages to standard output.
113
- .TP
114
- \fB\-s\fR, \fB\-\-silent\fR
115
- Like \fB\-\-quiet\fR, but also suppresses the 'in directory' announcement.
116
- .TP
117
- \fB\-X\fR, \fB\-\-no\-deprecation\-warnings\fR
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
- .TP
120
- \fB\-\-comments\fR
119
+ .It Fl -comments
121
120
  Show commented tasks only
122
- .TP
123
- \fB\-A\fR, \fB\-\-all\fR
124
- Show all tasks, even uncommented ones (in combination with \fB\-T\fR or \fB\-D\fR)
125
- .TP
126
- \fB\-\-job\-stats\fR [\fILEVEL\fR]
127
- Display job statistics. \fILEVEL=history\fR displays a complete job list
128
- .TP
129
- \fB\-V\fR, \fB\-\-version\fR
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
- .TP
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
- .SH SEE ALSO
136
- The complete documentation for \fBrake\fR has been installed at \fI/usr/share/doc/rake-doc/html/index.html\fR. It is also available online at \fIhttp://docs.seattlerb.org/rake\fR.
137
- .SH AUTHOR
138
- .B rake
139
- was written by Jim Weirich <jim@weirichhouse.org>
140
- .PP
141
- This manual was created by Caitlin Matos <caitlin.matos@zoho.com> for the Debian project (but may be used by others). It was inspired by the manual by Jani Monoses <jani@iv.ro> for the Ubuntu project.
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.