mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 11:51:19 +00:00
Update cheatsheets
This commit is contained in:
30
rake
Normal file
30
rake
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# rake
|
||||
|
||||
> A Make-like program for Ruby.
|
||||
> Tasks for `rake` are specified in a Rakefile.
|
||||
> More information: <https://ruby.github.io/rake>.
|
||||
|
||||
- Run the `default` Rakefile task:
|
||||
|
||||
`rake`
|
||||
|
||||
- Run a specific task:
|
||||
|
||||
`rake {{task}}`
|
||||
|
||||
- Execute `n` jobs at a time in parallel (number of CPU cores + 4 by default):
|
||||
|
||||
`rake --jobs {{n}}`
|
||||
|
||||
- Use a specific Rakefile:
|
||||
|
||||
`rake --rakefile {{path/to/Rakefile}}`
|
||||
|
||||
- Execute `rake` from another directory:
|
||||
|
||||
`rake --directory {{path/to/directory}}`
|
||||
Reference in New Issue
Block a user