1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-29 17:38:12 -07:00

VerifyKobaltZip.

This commit is contained in:
Cedric Beust 2016-01-06 16:16:48 -08:00
parent b83c012c62
commit 19ad4ae3a2
3 changed files with 61 additions and 5 deletions

View file

@ -5,10 +5,7 @@ import com.beust.kobalt.api.IClasspathDependency
import com.beust.kobalt.api.Kobalt
import com.beust.kobalt.api.PluginTask
import com.beust.kobalt.api.Project
import com.beust.kobalt.app.BuildFileCompiler
import com.beust.kobalt.app.MainModule
import com.beust.kobalt.app.ProjectGenerator
import com.beust.kobalt.app.UpdateKobalt
import com.beust.kobalt.app.*
import com.beust.kobalt.app.remote.KobaltClient
import com.beust.kobalt.app.remote.KobaltServer
import com.beust.kobalt.internal.PluginInfo
@ -148,10 +145,12 @@ private class Main @Inject constructor(
} else if (args.serverMode) {
server.run()
} else {
// Update doesn't require to parse the build file
// Options that don't need Build.kt to be parsed first
if (args.update) {
// --update
updateKobalt.updateKobalt()
} else if (args.verifyDistribution) {
VerifyKobaltZip().run()
} else {
//
// Everything below requires to parse the build file first