1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00
This commit is contained in:
Cedric Beust 2015-10-30 17:46:27 -07:00
parent 946cc27275
commit 9ec21dc69b

View file

@ -120,6 +120,7 @@ private class Main @Inject constructor(
try {
allProjects = buildFileCompilerFactory.create(listOf(buildFile)).compileBuildFiles(args)
} catch(ex: Throwable) {
log(2, "Couldn't parse preBuildScript.jar: ${ex.message}")
if (! File(".kobalt").deleteRecursively()) {
warn("Couldn't delete .kobalt, please delete it manually")
} else {