Scroll to navigation

RAKE-COMPILER(1) User Commands RAKE-COMPILER(1)

NAME

rake-compiler - Rake-based Ruby Extension (C, Java) task generator

DESCRIPTION

The Rake-compiler is first and foremost a productivity tool for Ruby developers. It's goal is to make the busy developer's life easier by simplifying the building and packaging of Ruby extensions by simplifying code and reducing duplication.

It follows *convention over configuration* by advocating a standardized build and package structure for both C and Java based RubyGems.

rake-compiler is the result of many hard-won experiences dealing with several diverse RubyGems that provided native extensions for different platforms and different user configurations in different ways. Details such as differences in code portability, differences in code clarity, and differences in project directory structure often made it very difficult for newcomers to those RubyGems.

USAGE

rake-compiler [-f rakefile] {options} targets...

OPTIONS

Enable full backtrace. OUT can be stderr (default) or stdout.
Show commented tasks only
Display job statistics. LEVEL=history displays a complete job list
Trace the rules resolution.

--suppress-backtrace PATTERN Suppress backtrace lines matching regexp PATTERN. Ignored if --trace is on.

Show all tasks, even uncommented ones (in combination with -T or -D)
Build all prerequisites, including those which are up-to-date.
Describe the tasks (matching optional PATTERN), then exit.
Execute some Ruby code and exit.
Execute some Ruby code, then continue with normal task processing.
Use FILENAME as the rakefile to search for.
Use standard project Rakefile search paths, ignore system wide rakefiles.
Using system wide (global) rakefiles (usually '~/.rake/*.rake').
Include LIBDIR in the search path for required modules.
Specifies the maximum number of tasks to execute in parallel. (default is number of CPU cores + 4)
Treat all tasks as multitasks.
Do a dry run without executing actions.
Do not search parent directories for the Rakefile.
Display the tasks and dependencies, then exit.
Execute some Ruby code, print the result, then exit.
Do not log messages to standard output.
Require MODULE before executing rakefile.
Auto-import any .rake files in RAKELIBDIR. (default is 'rakelib')

--rakelib

Like --quiet, but also suppresses the 'in directory' announcement.
Turn on invoke/execute tracing, enable full backtrace. OUT can be stderr (default) or stdout.
Display the tasks (matching optional PATTERN) with descriptions, then exit. -AT combination displays all of tasks contained no description.
Log message to standard output.
Display the program version.
Describe the tasks (matching optional PATTERN), then exit.
Disable the deprecation warnings.
Display this help message.

AUTHOR

This manual page was written by Youhei SASAKI <uwabami@gfd-dennou.org>, for the Debian GNU/Linux system(but may be used by others).

September 2018 rake-compiler 1.0.5