Method: Externals::Ext#projects
- Defined in:
- lib/externals/ext.rb
#projects ⇒ Object
256 257 258 259 260 261 262 263 264 265 266 267 |
# File 'lib/externals/ext.rb', line 256 def projects return @projects if @projects @projects = [] configuration.sections.each do |section| @projects << Ext.project_class(section[:scm]||infer_scm(section[:repository])).new( section.attributes.merge(:path => section.title)) end #let's set the parents of these projects main = main_project subprojects.each {|subproject| subproject.parent = main} @projects end |