Class: FubuRake::CompileTarget
- Inherits:
-
Object
- Object
- FubuRake::CompileTarget
- Defined in:
- lib/msbuild.rb
Instance Method Summary collapse
- #create(options) ⇒ Object
-
#initialize(name, solution) ⇒ CompileTarget
constructor
A new instance of CompileTarget.
Constructor Details
#initialize(name, solution) ⇒ CompileTarget
Returns a new instance of CompileTarget.
43 44 45 46 |
# File 'lib/msbuild.rb', line 43 def initialize(name, solution) @name = name @solution = solution end |
Instance Method Details
#create(options) ⇒ Object
48 49 50 51 52 53 54 |
# File 'lib/msbuild.rb', line 48 def create() compileTask = Rake::Task.define_task @name do MSBuildRunner.compile .merge({:solutionfile => @solution}) end compileTask.add_description "Compiles #{@solution}" end |