Sha256: bb67cce8b212d28c70e36e72cdb628963ea438f94f943e8f73007ed9598aab57
Contents?: true
Size: 919 Bytes
Versions: 1
Compression:
Stored size: 919 Bytes
Contents
require 'pathname' module Pod class Podfile module DSL def folder(path, *requirements) basePath = Pathname.new path def import_pod(path, *requirements) podspec = path.children.find do |p| !p.directory? and p.extname == ".podspec" end if podspec != nil options = (requirements.last || {}).clone options[:path] = path.to_path pod(podspec.basename(".podspec").to_s, options) end path.children.each do |p| if p.directory? import_pod(p, *requirements) end end end import_pod basePath, *requirements end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cocoapods-developing-folder-0.5 | lib/cocoapods-developing-folder/folder_DSL.rb |