Sha256: c0b50029d257ddc0a66603857dafd74d3d2071fe98de69fab0fd4539905d5b4e

Contents?: true

Size: 530 Bytes

Versions: 1

Compression:

Stored size: 530 Bytes

Contents

Pod::HooksManager.register('cocoapods-rome', :post_install) do |installer_context|
	sandbox_root = installer_context.sandbox_root
  	sandbox = Pod::Sandbox.new(sandbox_root)

  	puts 'Building frameworks'

  	FileUtils.rmtree('build')
  	Dir.chdir(sandbox.project_path.dirname) do
  		`xcodebuild -project #{sandbox.project_path.basename} -scheme Pods -configuration Release`
  	end

  	`mv build/Release/Pods/*.framework build`
  	FileUtils.rmtree('build/Pods.build')
  	FileUtils.rmtree('build/Release')
  	`mv build Rome`
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cocoapods-rome-0.0.1 lib/cocoapods-rome/post_install.rb