Class: CocoaPods::AppGroup::Setup

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods/app_group/setup.rb

Instance Method Summary collapse

Instance Method Details

#callObject



4
5
6
7
8
9
10
11
12
# File 'lib/cocoapods/app_group/setup.rb', line 4

def call
  FileUtils.mkdir_p pod_path

  %w(AppGroup.podspec.json AppGroup.h AppGroup.m).each do |name|
    Template.new(template(name)).call pod_path.join(name)
  end

  add_to_targets pod_path.relative_path_from(root)
end