geforkt von Mirrors/FastAsyncWorldEdit
Terminate process if .git
folder does not exist (#2070)
Terminate process if folder is not a repository
Dieser Commit ist enthalten in:
Ursprung
606ffad12b
Commit
c0563b6574
@ -9,6 +9,16 @@ plugins {
|
|||||||
id("xyz.jpenilla.run-paper") version "2.0.1"
|
id("xyz.jpenilla.run-paper") version "2.0.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!File("$rootDir/.git").exists()) {
|
||||||
|
logger.lifecycle("""
|
||||||
|
**************************************************************************************
|
||||||
|
You need to fork and clone this repository! Don't download a .zip file.
|
||||||
|
If you need assistance, consult the GitHub docs: https://docs.github.com/get-started/quickstart/fork-a-repo
|
||||||
|
**************************************************************************************
|
||||||
|
""".trimIndent()
|
||||||
|
).also { kotlin.system.exitProcess(1) }
|
||||||
|
}
|
||||||
|
|
||||||
logger.lifecycle("""
|
logger.lifecycle("""
|
||||||
*******************************************
|
*******************************************
|
||||||
You are building FastAsyncWorldEdit!
|
You are building FastAsyncWorldEdit!
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren