mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Terminate process if .git
folder does not exist (#2070)
Terminate process if folder is not a repository
This commit is contained in:
parent
606ffad12b
commit
c0563b6574
@ -9,6 +9,16 @@ plugins {
|
||||
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("""
|
||||
*******************************************
|
||||
You are building FastAsyncWorldEdit!
|
||||
|
Loading…
Reference in New Issue
Block a user