Class: Noodle::Rake::NoodleTask
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- Noodle::Rake::NoodleTask
- Extended by:
- Forwardable
- Defined in:
- lib/noodle.rb
Overview
Rake tasks for setting up .NET dependencies.
Four tasks are defined:
-
noodle:copy - copy the lib directories from the gems to the local project.
-
noodle:clean - remove the local lib directory.
-
noodle:update - clean, then copy.
-
noodle - alias of noodle:copy.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the rake task to generate.
Instance Method Summary collapse
-
#initialize(name = :noodle) {|noodle| ... } ⇒ NoodleTask
constructor
Define noodle’s rake tasks.
Constructor Details
#initialize(name = :noodle) {|noodle| ... } ⇒ NoodleTask
Define noodle’s rake tasks.
99 100 101 102 103 104 |
# File 'lib/noodle.rb', line 99 def initialize name = :noodle @noodler = Noodler.new @name = name yield self if block_given? define end |
Instance Attribute Details
#name ⇒ String
The name of the rake task to generate.
Defaults to :noodle.
88 89 90 |
# File 'lib/noodle.rb', line 88 def name @name end |