Class: Samus::Rake::ReleaseTask
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- Samus::Rake::ReleaseTask
- Includes:
- Helpers
- Defined in:
- lib/samus/rake/tasks.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.
138 139 140 141 142 143 144 145 146 |
# File 'lib/samus/rake/tasks.rb', line 138 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.
135 136 137 |
# File 'lib/samus/rake/tasks.rb', line 135 def buildfile @buildfile end |
#git_pull_after_publish ⇒ Object
Returns the value of attribute git_pull_after_publish.
134 135 136 |
# File 'lib/samus/rake/tasks.rb', line 134 def git_pull_after_publish @git_pull_after_publish end |
#git_pull_before_build ⇒ Object
Returns the value of attribute git_pull_before_build.
133 134 135 |
# File 'lib/samus/rake/tasks.rb', line 133 def git_pull_before_build @git_pull_before_build end |
#zipfile=(value) ⇒ Object
Sets the attribute zipfile
136 137 138 |
# File 'lib/samus/rake/tasks.rb', line 136 def zipfile=(value) @zipfile = value end |