Sha256: b07be6396247c959dccb6462ad296ac4e8f5d4a083d234e1921473f13e015a85

Contents?: true

Size: 1.12 KB

Versions: 9

Compression:

Stored size: 1.12 KB

Contents

== The rant-import command

The rant-import command creates a monolithic rant script tailored to
the needs of your project and thus removes the dependency on an Rant
installation (but of course one person needs an Rant installation to
run rant-import).

Just run the command with the <tt>--help</tt> option to get a brief
help message:
    % rant-import --help

Probably the easiest way to create your monolithic rant script is with
the <tt>--auto</tt> option:
    % rant-import --auto ant
This will write a monolithic rant script to the file +ant+ in the
current directory. To determine which plugins and imports your project
is using, it performs step 2 of the rant command as described in
doc/rant.rdoc[link:files/doc/rant_rdoc.html], which means that it
loads the Rantfile in the current directory.

That one command should be enough, try it out:
    % ruby ant
This script has the same behaviour as the rant command. Distribute it
with your project and nobody else but you needs an Rant installation.

== See also

Rant Overview::
    README[link:files/README.html]
Writing an Rantfile::
    doc/rantfile.rdoc[link:files/doc/rantfile_rdoc.html]

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rant-0.3.0 doc/rant-import.rdoc
rant-0.3.4 doc/rant-import.rdoc
rant-0.3.6 doc/rant-import.rdoc
rant-0.3.8 doc/rant-import.rdoc
rant-0.4.4 doc/rant-import.rdoc
rant-0.4.6 doc/rant-import.rdoc
rant-0.3.2 doc/rant-import.rdoc
rant-0.4.0 doc/rant-import.rdoc
rant-0.4.2 doc/rant-import.rdoc