mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-28 06:50:02 +00:00
clean up buildscripts
This commit is contained in:
1 parent
77d5162e73
commit
b1a1001c49
4 files changed
+140
-58
No files matched your search
@@ -30,7 +30,7 @@ fun Project.configureCommon() {
|
||||
}
|
||||
|
||||
fun Project.getGitHash(): String {
|
||||
val stdout = java.io.ByteArrayOutputStream()
|
||||
val stdout = ByteArrayOutputStream()
|
||||
exec {
|
||||
commandLine = mutableListOf("git", "rev-parse", "--short", "HEAD")
|
||||
standardOutput = stdout
|
||||
|
||||
Reference in new issue
Block a user