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
25 26 27 28 |
# File 'lib/msbuild.rb', line 25 def initialize(name, solution) @name = name @solution = solution end |
Instance Method Details
#create(options) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/msbuild.rb', line 30 def create() compileTask = Rake::Task.define_task @name do MSBuildRunner.compile .merge({:solutionfile => @solution}) end compileTask.add_description "Compiles #{@solution}" end |