mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 22:46:04 +03:00
Clone craft in mac builder script
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
1942bcf8d8
commit
84cc6f8ada
1 changed files with 9 additions and 0 deletions
|
@ -76,4 +76,13 @@ installIfMissing("python3", "brew install pyenv && pyenv install 3.12.4")
|
||||||
print("Build tooling configured.")
|
print("Build tooling configured.")
|
||||||
print("Configuring KDE Craft.")
|
print("Configuring KDE Craft.")
|
||||||
|
|
||||||
|
let fm = FileManager.default
|
||||||
|
let currentDir = fm.currentDirectoryPath
|
||||||
|
let craftDir = "\(currentDir)/craftmaster"
|
||||||
|
|
||||||
|
if fm.fileExists(atPath: craftDir) {
|
||||||
|
print("KDE Craft is already cloned.")
|
||||||
|
} else {
|
||||||
|
print("Cloning KDE Craft...")
|
||||||
|
shell("git clone -q --depth=1 https://invent.kde.org/packaging/craftmaster.git")
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue