Improve bootstrap
This commit is contained in:
2 files changed
+8
-4
No files matched your search
+1
-1
@@ -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
@@ -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")
|
||||
Reference in new issue
Block a user