Add unlock-keychain arg

This commit is contained in:
Kevin Sawicki 2014-01-14 10:44:16 -08:00
parent 7a41fabf60
commit 848dc12f28

View File

@ -15,7 +15,8 @@ module.exports = (grunt) ->
unlockKeychain = (callback) ->
cmd = 'security'
args = ['-p', process.env.XCODE_KEYCHAIN_PASSWORD, process.env.XCODE_KEYCHAIN]
{XCODE_KEYCHAIN_PASSWORD, XCODE_KEYCHAIN} = process.env
args = ['unlock-keychain', '-p', XCODE_KEYCHAIN_PASSWORD, XCODE_KEYCHAIN]
spawn {cmd, args}, (error) -> callback(error)
signApp = (callback) ->