Module: ManifestBuilder
- Defined in:
- lib/conan/manifest_builder.rb
Class Method Summary collapse
Class Method Details
.build(options, pipeline_id, env_id, artifact_repo = nil, outthingy = nil, &block) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/conan/manifest_builder.rb', line 14 def self.build(, pipeline_id, env_id, artifact_repo=nil, outthingy=nil, &block) manifest_dir = [:directory] output_type = [:format] artifact_repo ||= DefaultArtifactRepository.new outthingy ||= StackatoOutThingy.new(manifest_dir) manifest = Manifest.new(, artifact_repo, outthingy) manifest.instance_eval(&block) manifest.select(pipeline_id, env_id) manifest end |