RAKE(1)
โจ RAKE(1) โ NAME โจ
rake ๐ is a make-like build utility for Ruby, and bestie, it is literally so good. The manual name is rake(1), which I am obsessed with.
Quick note before we start: the em-dash and the header stuff are just the page's little intro, so I'm keeping the vibe but not the formatting.
๐ SYNOPSIS ๐
rake [-f rakefile] [options] targets ...
๐ธ DESCRIPTION ๐ธ
okay so rake is a make(1)-like build utility for Ruby ๐ฅ. Tasks and dependencies get written in standard Ruby syntax, so if you already speak Ruby you're basically fluent already ๐ .
๐ OPTIONS ๐
-m,--multitaskโ treat all tasks as multitasks โจ-B,--build-allโ build all prerequisites, even the ones that are already up-to-date ๐ซถ-j,--jobs num_jobsโ sets the max number of tasks that can run in parallel (default is number of CPU cores + 4) ๐ฅ
๐ง Modules ๐ง
-I,--libdir libdirโ adds libdir to the search path for required modules ๐ฆ-r,--require moduleโ requires module before running the rakefile ๐
๐บ๏ธ Rakefile location ๐บ๏ธ
-f,--rakefile filenameโ uses filename as the rakefile to look for ๐-N,--no-search,--nosearchโ don't search parent directories for the Rakefile ๐-G,--no-system,--nosystemโ use the standard project Rakefile search paths and ignore system-wide rakefiles ๐-R,--rakelib rakelibdir,--rakelibdir rakelibdirโ auto-imports any.rakefiles in rakelibdir (default is โrakelibโ) ๐-g,--systemโ uses system-wide (global) rakefiles (usually~/.rake/*.rake) โจ
๐ Debugging ๐
--backtrace=outโ enables the full backtrace. out can bestderr(default) orstdout๐-t,--trace=outโ turns on invoke/execute tracing and enables full backtrace. out can bestderr(default) orstdout๐--suppress-backtrace patternโ suppresses backtrace lines matching the regexp pattern. Ignored if--traceis on ๐--rulesโ traces the rules resolution ๐ฆ-n,--dry-runโ does a dry run without executing actions ๐ซถ-T,--tasks [pattern]โ displays the tasks (matching the optional pattern) with descriptions, then exits ๐-D,--describe [pattern]โ describes the tasks (matching the optional pattern), then exits ๐ธ-W,--where [pattern]โ describes the tasks (matching the optional pattern), then exits ๐-P,--prereqsโ displays the tasks and dependencies, then exits ๐ง-e,--execute codeโ executes some Ruby code and exits โจ-p,--execute-print codeโ executes some Ruby code, prints the result, then exits ๐-E,--execute-continue codeโ executes some Ruby code, then continues with normal task processing ๐ฅ
๐ฃ Information ๐ฃ
-v,--verboseโ logs messages to standard output ๐-q,--quietโ doesn't log messages to standard output ๐-s,--silentโ like--quiet, but also suppresses the โin directoryโ announcement ๐คซ-X,--no-deprecation-warningsโ disables the deprecation warnings ๐--commentsโ shows commented tasks only ๐-A,--allโ shows all tasks, even uncommented ones (in combination with-Tor-D) โจ--job-stats [level]โ displays job statistics. If level is โhistoryโ, it displays a complete job list ๐ฆ-V,--versionโ displays the program version ๐-h,-H,--helpโ displays a help message ๐
๐ฆ SEE ALSO ๐ฆ
okay the complete documentation for rake has been installed at /usr/share/doc/rake-doc/html/index.html, and it's also available online at https://ruby.github.io/rake ๐ธ
๐ AUTHORS ๐
rake was written by Jim Weirich <jim@weirichhouse.org> ๐
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 ๐ซถ
bestie, that's the whole thing: rake 11.2.2, June 12, 2016, RAKE(1) ๐ โจ periodt ๐
๐ฆ where this page comes from
- centos-stream 10: ruby4.0 4.0.6-37.el10 ยท (Ruby OR BSD-2-Clause) AND (Ruby OR BSD-2-Clause OR GPL-1.0-or-later) AND BSD-3-Clause AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND ISC AND LicenseRef-Fedora-Public-Domain AND MIT AND CC0-1.0 AND zlib AND Unicode-DFS-2015 AND HPND-Markus-Kuhn AND Ruby-pty AND (Ruby OR BSD-2-Clause OR Python-2.0.1) AND BSD-2-Clause AND (Apache-2.0 OR BSL-1.0) AND GPL-2.0-only AND CC-BY-2.5 AND OFL-1.1-RFN AND BSL-1.0
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms