Sha256: f229de67786cfd34265f8c9f3d9b9bc1fda352c15648472c602d3fc15e29ce71

Contents?: true

Size: 562 Bytes

Versions: 5

Compression:

Stored size: 562 Bytes

Contents

include IosToolchain::Helpers
require 'fileutils'

namespace :ios do
	desc 'helpers for dealing with provisiong'
	namespace :provisioning do
		desc 'copies provisioning profiles from the repo to the appropriate system location'
		task :copy do
			local_profiles_path = File.join(config.provisioning_path, '*')
			system_profile_path = '~/Library/MobileDevice/Provisioning\ Profiles/'
			puts "copying provisioning profiles from '#{local_profiles_path}' to '#{system_profile_path}'"
			system("cp -r #{local_profiles_path} #{system_profile_path}")
		end
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ios_toolchain-0.3.1 lib/ios_toolchain/tasks/ios/provisioning.rake
ios_toolchain-0.3.0 lib/ios_toolchain/tasks/ios/provisioning.rake
ios_toolchain-0.2.6 lib/ios_toolchain/tasks/ios/provisioning.rake
ios_toolchain-0.2.4 lib/ios_toolchain/tasks/ios/provisioning.rake
ios_toolchain-0.2.3 lib/ios_toolchain/tasks/ios/provisioning.rake