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

--resolve fixes.

This commit is contained in:
Cedric Beust 2015-11-08 21:27:38 -08:00
parent 3ed773ebcb
commit 9096fb8348
2 changed files with 6 additions and 5 deletions

View file

@ -145,9 +145,6 @@ private class Main @Inject constructor(
jc.usage()
} else if (args.serverMode) {
server.run()
} else if (args.dependency != null) {
// --resolve
resolveDependency.run(args.dependency as String)
} else {
if (! buildFile.exists()) {
error(buildFile.path.toFile().path + " does not exist")
@ -162,7 +159,10 @@ private class Main @Inject constructor(
log(2, "Final list of repos:\n " + Kobalt.repos.joinToString("\n "))
if (args.tasks) {
if (args.dependency != null) {
// --resolve
resolveDependency.run(args.dependency as String)
} else if (args.tasks) {
//
// List of tasks
//