Skip to content

Commit

Permalink
pull dependencies automatically from the podfile
Browse files Browse the repository at this point in the history
  • Loading branch information
czechboy0 committed Sep 27, 2015
1 parent 40db014 commit e6e562c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion XcodeServerSDK.podspec
Expand Up @@ -18,6 +18,10 @@ Pod::Spec.new do |s|

s.source_files = "XcodeServerSDK/**/*.{swift}"

s.dependency "BuildaUtils", "0.0.11"
# load the dependencies from the podfile for target ekgclient
podfile_deps = Podfile.from_file(Dir["Podfile"].first).target_definitions["XcodeServerSDK"].dependencies
podfile_deps.each do |dep|
s.dependency dep.name, dep.requirement.to_s
end

end

0 comments on commit e6e562c

Please sign in to comment.