1RAKE(1) BSD General Commands Manual RAKE(1)
2
4 rake — make-like build utility for Ruby
5
7 rake [-f rakefile] [options] targets ...
8
10 rake is a make(1)-like build utility for Ruby. Tasks and dependencies
11 are specified in standard Ruby syntax.
12
14 -m, --multitask
15 Treat all tasks as multitasks.
16
17 -B, --build-all
18 Build all prerequisites, including those which are up-to-date.
19
20 -j, --jobs num_jobs
21 Specifies the maximum number of tasks to execute in parallel
22 (default is number of CPU cores + 4).
23
24 Modules
25 -I, --libdir libdir
26 Include libdir in the search path for required modules.
27
28 -r, --require module
29 Require module before executing rakefile.
30
31 Rakefile location
32 -f, --rakefile filename
33 Use filename as the rakefile to search for.
34
35 -N, --no-search, --nosearch
36 Do not search parent directories for the Rakefile.
37
38 -G, --no-system, --nosystem
39 Use standard project Rakefile search paths, ignore system wide
40 rakefiles.
41
42 -R, --rakelib rakelibdir, --rakelibdir rakelibdir
43 Auto-import any .rake files in rakelibdir (default is ‘rakelib’)
44
45 -g, --system
46 Use system-wide (global) rakefiles (usually ~/.rake/*.rake).
47
48 Debugging
49 --backtrace=out
50 Enable full backtrace. out can be stderr (default) or stdout.
51
52 -t, --trace=out
53 Turn on invoke/execute tracing, enable full backtrace. out can
54 be stderr (default) or stdout.
55
56 --suppress-backtrace pattern
57 Suppress backtrace lines matching regexp pattern. Ignored if
58 --trace is on.
59
60 --rules
61 Trace the rules resolution.
62
63 -n, --dry-run
64 Do a dry run without executing actions.
65
66 -T, --tasks [pattern]
67 Display the tasks (matching optional pattern) with descriptions,
68 then exit.
69
70 -D, --describe [pattern]
71 Describe the tasks (matching optional pattern), then exit.
72
73 -W, --where [pattern]
74 Describe the tasks (matching optional pattern), then exit.
75
76 -P, --prereqs
77 Display the tasks and dependencies, then exit.
78
79 -e, --execute code
80 Execute some Ruby code and exit.
81
82 -p, --execute-print code
83 Execute some Ruby code, print the result, then exit.
84
85 -E, --execute-continue code
86 Execute some Ruby code, then continue with normal task process‐
87 ing.
88
89 Information
90 -v, --verbose
91 Log message to standard output.
92
93 -q, --quiet
94 Do not log messages to standard output.
95
96 -s, --silent
97 Like --quiet, but also suppresses the ‘in directory’ announce‐
98 ment.
99
100 -X, --no-deprecation-warnings
101 Disable the deprecation warnings.
102
103 --comments
104 Show commented tasks only
105
106 -A, --all
107 Show all tasks, even uncommented ones (in combination with -T or
108 -D)
109
110 --job-stats [level]
111 Display job statistics. If level is ‘history’, displays a com‐
112 plete job list.
113
114 -V, --version
115 Display the program version.
116
117 -h, -H, --help
118 Display a help message.
119
121 The complete documentation for rake has been installed at
122 /usr/share/doc/rake-doc/html/index.html. It is also available online at
123 https://ruby.github.io/rake.
124
126 rake was written by Jim Weirich <jim@weirichhouse.org>.
127
128 This manual was created by Caitlin Matos <caitlin.matos@zoho.com> for the
129 Debian project (but may be used by others). It was inspired by the man‐
130 ual by Jani Monoses <jani@iv.ro> for the Ubuntu project.
131
132rake 11.2.2 June 12, 2016 rake 11.2.2