Sha256: 949e9e44dcd00149e54a5a1cf3311f583fa409322144c9636024a437201603cf

Contents?: true

Size: 595 Bytes

Versions: 2

Compression:

Stored size: 595 Bytes

Contents

require 'ios_toolchain/helpers'
require 'fileutils'

include IosToolchain::Helpers

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

2 entries across 2 versions & 1 rubygems

Version Path
ios_toolchain-0.3.3 lib/ios_toolchain/tasks/ios/provisioning.rake
ios_toolchain-0.3.2 lib/ios_toolchain/tasks/ios/provisioning.rake