mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #7475 from nextcloud/feature/dev-builds-mac-crafter
This commit is contained in:
commit
3078664a32
@ -110,6 +110,9 @@ struct Build: ParsableCommand {
|
||||
@Flag(help: "Create an installer package.")
|
||||
var package = false
|
||||
|
||||
@Flag(help: "Build in developer mode.")
|
||||
var dev = false
|
||||
|
||||
mutating func run() throws {
|
||||
print("Configuring build tooling.")
|
||||
|
||||
@ -179,6 +182,11 @@ struct Build: ParsableCommand {
|
||||
craftOptions.append("\(craftBlueprintName).forceOverrideServerUrl=\(forceOverrideServerUrl ? "True" : "False")")
|
||||
}
|
||||
|
||||
if dev {
|
||||
appName += "Dev"
|
||||
craftOptions.append("\(craftBlueprintName).devMode=True")
|
||||
}
|
||||
|
||||
if !disableAutoUpdater {
|
||||
print("Configuring Sparkle auto-updater.")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user