Sha256: 2094c49c6f14ca351dc50e4a2cb7c51f77d7fd79a2e1993af828140ef3fa0518

Contents?: true

Size: 1.73 KB

Versions: 33

Compression:

Stored size: 1.73 KB

Contents

= Glossary

action ::
  Code to be executed in order to perform a task.  Actions in a rakefile are
  specified in a code block (usually delimited by +do+/+end+ pairs.

execute ::
  When a task is executed, all of its actions are performed, in the order they
  were defined.  Note that unlike <tt>invoke</tt>, <tt>execute</tt> always
  executes the actions (without invoking or executing the prerequisites).

file task (Rake::FileTask) ::
  A file task is a task whose purpose is to create a file (which has the same
  name as the task).  When invoked, a file task will only execute if one or
  more of the following conditions are true.

  1. The associated file does not exist.
  2. A prerequisite has a later time stamp than the existing file.

  Because normal Tasks always have the current time as timestamp, a FileTask
  that has a normal Task prerequisite will always execute.

invoke ::
  When a task is invoked, first we check to see if it has been invoked before.
  If it has been, then nothing else is done.  If this is the first time its
  been invoked, then we invoke each of its prerequisites.  Finally, we check
  to see if we need to execute the actions of this task by calling
  Rake::Task#needed?.  Finally, if the task is needed, we execute its actions.

  NOTE: Prerequisites are invoked even if the task is not needed.

prerequisites ::
  Every task has a set (possibly empty) of prerequisites.  A prerequisite P to
  Task T is itself a task that must be invoked before Task T.

rule ::
  A rule is a recipe for synthesizing a task when no task is explicitly
  defined.  Rules generally synthesize file tasks.

task (Rake::Task) ::
  Basic unit of work in a rakefile.  A task has a name, a set of prerequisites
  and a list of actions to be performed.

Version data entries

33 entries across 32 versions & 14 rubygems

Version Path
able-neo4j-1.0.0 vendor/bundle/jruby/1.9/gems/rake-10.4.2/doc/glossary.rdoc
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/rake-10.4.2/doc/glossary.rdoc
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/rake-10.4.2/doc/glossary.rdoc
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/rake-10.4.2/doc/glossary.rdoc
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/rake-10.4.2/doc/glossary.rdoc
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/rake-10.4.2/doc/glossary.rdoc
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/rake-10.4.2/doc/glossary.rdoc
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/logstash-codec-json-2.0.3/vendor/gems/rake-10.4.2/doc/glossary.rdoc
logstash-codec-json-2.0.3 vendor/gems/rake-10.4.2/doc/glossary.rdoc
swift-pyrite-0.1.1 vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/doc/glossary.rdoc
swift-pyrite-0.1.0 vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/doc/glossary.rdoc
suzuko-0.1.8 vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/doc/glossary.rdoc
suzuko-0.1.7 vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/doc/glossary.rdoc
logstash-input-beats-0.9.2 vendor/jruby/1.9/gems/rake-10.4.2/doc/glossary.rdoc
logstash-input-beats-0.9.1 vendor/jruby/1.9/gems/rake-10.4.2/doc/glossary.rdoc
vagrant-cloudstack-1.2.0 vendor/bundle/gems/rake-10.4.2/doc/glossary.rdoc
solidus_backend-1.0.0.pre vendor/bundle/gems/rake-10.4.2/doc/glossary.rdoc
vagrant-cloudstack-1.1.0 vendor/bundle/gems/rake-10.4.2/doc/glossary.rdoc
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/rake-10.4.2/doc/glossary.rdoc
rake-10.4.2 doc/glossary.rdoc