Class: Samus::Rake::ReleaseTask
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- Samus::Rake::ReleaseTask
- Includes:
- Helpers
- Defined in:
- lib/samus/rake/samus_task.rb
Instance Attribute Summary collapse
-
#buildfile ⇒ Object
Returns the value of attribute buildfile.
-
#git_pull_after_publish ⇒ Object
Returns the value of attribute git_pull_after_publish.
-
#git_pull_before_build ⇒ Object
Returns the value of attribute git_pull_before_build.
-
#zipfile ⇒ Object
writeonly
Sets the attribute zipfile.
Instance Method Summary collapse
-
#initialize(namespace = :samus) {|_self| ... } ⇒ ReleaseTask
constructor
A new instance of ReleaseTask.
Constructor Details
#initialize(namespace = :samus) {|_self| ... } ⇒ ReleaseTask
Returns a new instance of ReleaseTask.
124 125 126 127 128 129 130 131 132 |
# File 'lib/samus/rake/samus_task.rb', line 124 def initialize(namespace = :samus) @namespace = namespace @buildfile = "" @zipfile = nil @git_pull_before_build = true @git_pull_after_publish = true yield self if block_given? define end |
Instance Attribute Details
#buildfile ⇒ Object
Returns the value of attribute buildfile.
121 122 123 |
# File 'lib/samus/rake/samus_task.rb', line 121 def buildfile @buildfile end |
#git_pull_after_publish ⇒ Object
Returns the value of attribute git_pull_after_publish.
120 121 122 |
# File 'lib/samus/rake/samus_task.rb', line 120 def git_pull_after_publish @git_pull_after_publish end |
#git_pull_before_build ⇒ Object
Returns the value of attribute git_pull_before_build.
119 120 121 |
# File 'lib/samus/rake/samus_task.rb', line 119 def git_pull_before_build @git_pull_before_build end |
#zipfile=(value) ⇒ Object
Sets the attribute zipfile
122 123 124 |
# File 'lib/samus/rake/samus_task.rb', line 122 def zipfile=(value) @zipfile = value end |