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
|
#!/usr/bin/bash
|
||||||
|
|
||||||
# Fetch all submodule content.
|
# 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"
|
rootProject.name = "Chat-OG"
|
||||||
|
|
||||||
exec {
|
val process: Process = ProcessBuilder("sh", "bootstrap.sh")
|
||||||
workingDir(rootDir)
|
.directory(rootDir)
|
||||||
commandLine("sh", "bootstrap.sh")
|
.start()
|
||||||
|
|
||||||
|
val exitValue = process.waitFor()
|
||||||
|
if (exitValue != 0) {
|
||||||
|
throw GradleException("bootstrap.sh failed with exit code $exitValue")
|
||||||
}
|
}
|
||||||
|
|
||||||
include("libs:Utilities-OG")
|
include("libs:Utilities-OG")
|
||||||
Reference in new issue
Block a user