mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-22 20:35:48 +03:00
Allow explicitly skipping code-signing of dependencies in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
9f88eb0376
commit
a73877cece
1 changed files with 4 additions and 1 deletions
|
@ -45,6 +45,9 @@ struct MacCrafter: ParsableCommand {
|
|||
@Option(name: [.long], help: "Build type (e.g. Release, RelWithDebInfo, MinSizeRel, Debug).")
|
||||
var buildType = "RelWithDebInfo"
|
||||
|
||||
@Option(name: [.long], help: "Skip code-signing dependency libraries and plugins.")
|
||||
var skipDependencyCodeSigning = false
|
||||
|
||||
mutating func run() throws {
|
||||
print("Configuring build tooling.")
|
||||
|
||||
|
@ -85,7 +88,7 @@ struct MacCrafter: ParsableCommand {
|
|||
print("Crafting Nextcloud Desktop Client dependencies...")
|
||||
shell("\(craftCommand) --install-deps nextcloud-client")
|
||||
|
||||
if let codeSignIdentity {
|
||||
if !skipDependencyCodeSigning, let codeSignIdentity {
|
||||
print("Code-signing Nextcloud Desktop Client libraries and frameworks...")
|
||||
|
||||
let craftLibDir = "\(buildPath)/\(craftTarget)/lib"
|
||||
|
|
Loading…
Reference in a new issue