Improve bootstrap

This commit is contained in:
SKBotNL committed 2025-05-30 12:03:41 +02:00
1 parent 50c1c80ab0
commit 8b275b6766
2 files changed
+8 -4

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/bash
# Fetch all submodule content.
git submodule update --force --recursive --init --remote
git submodule update --force --recursive --init
+7 -3
View File
@@ -4,9 +4,13 @@ plugins {
rootProject.name = "Chat-OG"
exec {
workingDir(rootDir)
commandLine("sh", "bootstrap.sh")
val process: Process = ProcessBuilder("sh", "bootstrap.sh")
.directory(rootDir)
.start()
val exitValue = process.waitFor()
if (exitValue != 0) {
throw GradleException("bootstrap.sh failed with exit code $exitValue")
}
include("libs:Utilities-OG")