doc/rantfile.rdoc in rant-0.3.6 vs doc/rantfile.rdoc in rant-0.3.8
- old
+ new
@@ -40,11 +40,11 @@
=== Defining a task
Just call the +task+ function and give it a task name as argument. The
task name may be a string or symbol:
task :taskname
-That's it, your first task. Not very usefull, because it doesn't do
+That's it, your first task. Not very useful, because it doesn't do
anything. To associate an action with the task, add a block:
task :mytask do
puts "Hello, mytask running."
end
Put these 3 lines of code into a file called +Rantfile+ and run rant:
@@ -303,19 +303,22 @@
=== 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
+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.
-+RubyTest+:: Run Test::Unit tests for your Ruby code.
-+RubyDoc+:: Run RDoc.
-+RubyPackage+:: Generate tar, zip and gem packages of your Ruby
+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.
Read doc/advanced.rdoc[link:files/doc/advanced_rdoc.html] and
doc/rubyproject.rdoc[link:files/doc/rubyproject_rdoc.html] for
documentation.