本文整理汇总了TypeScript中out/codeSign.createKeychain函数的典型用法代码示例。如果您正苦于以下问题:TypeScript createKeychain函数的具体用法?TypeScript createKeychain怎么用?TypeScript createKeychain使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了createKeychain函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: async
test.ifOsx("create keychain with installers", async () => {
const keychainName = generateKeychainName()
await executeFinally(createKeychain(keychainName, CSC_LINK, process.env.CSC_KEY_PASSWORD)
.then(result => {
assertThat(result.keychainName).not.empty()
}), () => all([deleteKeychain(keychainName)]))
})
示例2: async
test.ifOsx("create keychain with installers", async () => {
const keychainName = generateKeychainName()
await executeFinally(createKeychain(keychainName, CSC_LINK, CSC_KEY_PASSWORD, CSC_INSTALLER_LINK, CSC_INSTALLER_KEY_PASSWORD)
.then(result => {
assertThat(result.keychainName).not.empty()
assertThat(result.name).equal(CSC_NAME)
}), () => all([deleteKeychain(keychainName)]))
})
示例3: async
test.ifOsx("create keychain", async (t) => {
const keychainName = generateKeychainName()
await executeFinally(createKeychain(keychainName, CSC_LINK, CSC_KEY_PASSWORD)
.then(result => {
assertThat(result.cscKeychainName).not.empty()
assertThat(result.cscName).equal(CSC_NAME)
}), () => all([deleteKeychain(keychainName)]))
})
示例4: async
test.ifMac("create keychain with installers", async () => {
const result = await createKeychain(tmpDir, CSC_LINK, process.env.CSC_KEY_PASSWORD)
assertThat(result.keychainName).isNotEmpty()
})