Class: FubuRake::SolutionTasks
- Inherits:
-
Object
- Object
- FubuRake::SolutionTasks
- Defined in:
- lib/fuburake.rb
Instance Attribute Summary collapse
-
#assembly_info ⇒ Object
Returns the value of attribute assembly_info.
-
#bottles ⇒ Object
Returns the value of attribute bottles.
-
#bottles_enabled ⇒ Object
Returns the value of attribute bottles_enabled.
-
#ci_steps ⇒ Object
Returns the value of attribute ci_steps.
-
#clean ⇒ Object
Returns the value of attribute clean.
-
#compilations ⇒ Object
Returns the value of attribute compilations.
-
#compile ⇒ Object
Returns the value of attribute compile.
-
#compile_targets ⇒ Object
Returns the value of attribute compile_targets.
-
#defaults ⇒ Object
Returns the value of attribute defaults.
-
#doc_exports ⇒ Object
Returns the value of attribute doc_exports.
-
#fubudocs_enabled ⇒ Object
Returns the value of attribute fubudocs_enabled.
-
#integration_test ⇒ Object
Returns the value of attribute integration_test.
-
#options ⇒ Object
Returns the value of attribute options.
-
#precompile ⇒ Object
Returns the value of attribute precompile.
-
#ripple_compilation_targets ⇒ Object
Returns the value of attribute ripple_compilation_targets.
-
#ripple_enabled ⇒ Object
Returns the value of attribute ripple_enabled.
Instance Method Summary collapse
- #assembly_bottle(project) ⇒ Object
- #compile_step(name, solution) ⇒ Object
- #export_docs(options) ⇒ Object
-
#initialize ⇒ SolutionTasks
constructor
A new instance of SolutionTasks.
Constructor Details
#initialize ⇒ SolutionTasks
Returns a new instance of SolutionTasks.
41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/fuburake.rb', line 41 def initialize @options = {} @bottles = [] @bottles_enabled = true @compile_targets = ['Debug', 'Release'] solutions = Dir.glob('**/*.sln') if solutions.count == 1 solutionfile = solutions[0] @compile = {:solutionfile => solutionfile} end end |
Instance Attribute Details
#assembly_info ⇒ Object
Returns the value of attribute assembly_info.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def assembly_info @assembly_info end |
#bottles ⇒ Object
Returns the value of attribute bottles.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def bottles @bottles end |
#bottles_enabled ⇒ Object
Returns the value of attribute bottles_enabled.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def bottles_enabled @bottles_enabled end |
#ci_steps ⇒ Object
Returns the value of attribute ci_steps.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def ci_steps @ci_steps end |
#clean ⇒ Object
Returns the value of attribute clean.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def clean @clean end |
#compilations ⇒ Object
Returns the value of attribute compilations.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def compilations @compilations end |
#compile ⇒ Object
Returns the value of attribute compile.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def compile @compile end |
#compile_targets ⇒ Object
Returns the value of attribute compile_targets.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def compile_targets @compile_targets end |
#defaults ⇒ Object
Returns the value of attribute defaults.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def defaults @defaults end |
#doc_exports ⇒ Object
Returns the value of attribute doc_exports.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def doc_exports @doc_exports end |
#fubudocs_enabled ⇒ Object
Returns the value of attribute fubudocs_enabled.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def fubudocs_enabled @fubudocs_enabled end |
#integration_test ⇒ Object
Returns the value of attribute integration_test.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def integration_test @integration_test end |
#options ⇒ Object
Returns the value of attribute options.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def @options end |
#precompile ⇒ Object
Returns the value of attribute precompile.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def precompile @precompile end |
#ripple_compilation_targets ⇒ Object
Returns the value of attribute ripple_compilation_targets.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def ripple_compilation_targets @ripple_compilation_targets end |
#ripple_enabled ⇒ Object
Returns the value of attribute ripple_enabled.
24 25 26 |
# File 'lib/fuburake.rb', line 24 def ripple_enabled @ripple_enabled end |
Instance Method Details
#assembly_bottle(project) ⇒ Object
61 62 63 64 65 |
# File 'lib/fuburake.rb', line 61 def assembly_bottle(project) @bottles ||= [] @bottles << FubuRake::AssemblyBottle.new(project) end |
#compile_step(name, solution) ⇒ Object
55 56 57 58 59 |
# File 'lib/fuburake.rb', line 55 def compile_step(name, solution) @compilations ||= [] @compilations << CompileTarget.new(name, solution) end |
#export_docs(options) ⇒ Object
67 68 69 70 71 |
# File 'lib/fuburake.rb', line 67 def export_docs() @doc_exports ||= [] @doc_exports << end |