mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-29 17:38:12 -07:00
--resolve fixes.
This commit is contained in:
parent
3ed773ebcb
commit
9096fb8348
2 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue