doc/rantfile.rdoc in rant-0.4.6 vs doc/rantfile.rdoc in rant-0.4.8

- old
+ new

@@ -180,14 +180,14 @@ sys "echo", "*.c" will print "*.c" to stdout. When the external program returns with an exit code other than 0, Rant will abort with an error message. Sometimes this is not - desirable. E.g. the +diff+, which compares two files, returns 0 if - the files are equal, 1 if have differences and something else if an - error occurs. Rant allows you to handle/ignore the exit code of a - program yourself. Example: + desirable. E.g. the +diff+ program, which compares two files, + returns 0 if the files are equal, 1 if they have differences and + something else if an error occurs. Rant allows you to handle/ignore + the exit code of a program yourself. Example: task :diff do |t| sys "diff -u a/util.c b/util.c > util.diff" do |ps| # ps is an instance of Process::Status case ps.exitstatus @@ -308,23 +308,23 @@ last dot with the given string. === Importing additional generators The +import+ function lets you import additional generators. -Currently the following are coming with Rant: -Clean:: Remove selected files. -AutoClean:: Remove all files generated by any file task (including - those generated by rules). -DirectedRule:: A Rule which takes sources from one or more - directories and puts generated files into a specified - directory. -SubFile:: Create file task and necessary directory tasks. -RubyTest:: Run Test::Unit tests for your Ruby code. -RubyDoc:: Run RDoc. -RubyPackage:: Generate tar, zip and gem packages of your Ruby - application/library. +Currently the following come with Rant: +Clean:: Remove selected files. +AutoClean:: Remove all files generated by any file task (including + those generated by rules). +DirectedRule:: A Rule which takes sources from one or more + directories and puts generated files into a specified + directory. +SubFile:: Create file task and necessary directory tasks. +RubyTest:: Run Test::Unit tests for your Ruby code. +RubyDoc:: Run RDoc. +RubyPackage:: Generate tar, zip and gem packages of your Ruby + application/library. Win32::RubyCmdWrapper:: Create .cmd wrapper scripts for installation - of Ruby scripts on Windows. + of Ruby scripts on Windows. Read doc/advanced.rdoc[link:files/doc/advanced_rdoc.html] and doc/rubyproject.rdoc[link:files/doc/rubyproject_rdoc.html] for documentation.