mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
Add option to build tests or not in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
9025be29a4
commit
942cc09e16
1 changed files with 4 additions and 0 deletions
|
@ -76,6 +76,9 @@ struct MacCrafter: ParsableCommand {
|
|||
@Option(name: [.long], help: "Run a full rebuild.")
|
||||
var fullRebuild = false
|
||||
|
||||
@Option(name: [.long], help: "Build test suite.")
|
||||
var buildTests = true
|
||||
|
||||
mutating func run() throws {
|
||||
print("Configuring build tooling.")
|
||||
|
||||
|
@ -134,6 +137,7 @@ struct MacCrafter: ParsableCommand {
|
|||
|
||||
var craftOptions = [
|
||||
"\(craftBlueprintName).srcDir=\(repoRootDir)",
|
||||
"\(craftBlueprintName).buildTests=\(buildTests ? "True" : "False")",
|
||||
"\(craftBlueprintName).buildMacOSBundle=\(buildAppBundle ? "True" : "False")",
|
||||
"\(craftBlueprintName).buildFileProviderModule=\(buildFileProviderModule ? "True" : "False")"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue