Module: ManifestBuilder
- Defined in:
- lib/conan/manifest_builder.rb
Class Method Summary collapse
Class Method Details
.build(options, artifact_repo = nil, outthingy = nil, &block) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/conan/manifest_builder.rb', line 2 def self.build(, 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], [:environment]) manifest end |