Class: RSGem::Tasks::AddCIProvider
- Inherits:
-
Base
- Object
- Base
- RSGem::Tasks::AddCIProvider
show all
- Defined in:
- lib/rsgem/tasks/add_ci_provider.rb
Constant Summary
collapse
- OUTPUT =
OutputStruct.new(name: :output_name)
Instance Attribute Summary
Attributes inherited from Base
#args, #context
Instance Method Summary
collapse
Methods inherited from Base
#call, #initialize
Methods included from Output
#with_output
Instance Method Details
#output_name ⇒ Object
12
13
14
|
# File 'lib/rsgem/tasks/add_ci_provider.rb', line 12
def output_name
"Add CI configuration for #{context.ci_provider.display_name}"
end
|
8
9
10
|
# File 'lib/rsgem/tasks/add_ci_provider.rb', line 8
def perform
context.ci_provider.install(context)
end
|