kobalt icon indicating copy to clipboard operation
kobalt copied to clipboard

Add a task for installing to $HOME/.kobalt

Open kmruiz opened this issue 9 years ago • 4 comments

This way you could use the same syntax that you use for resolving to external repositories.

Some proposed task names:

  • publish
  • submit
  • publishLocal

kmruiz avatar May 06 '16 08:05 kmruiz

Not sure what you mean, can you elaborate?

cbeust avatar May 06 '16 15:05 cbeust

Doing something like the current "install" command, but instead of installing in the project libs directory, install it in the user repository so other packages can find it.

It's like gradle's publishLocal:

https://docs.gradle.org/current/userguide/publishing_maven.html#publishing_maven:install

kmruiz avatar May 06 '16 16:05 kmruiz

Ah ok. You can already simulate this with:

install {
  libDir = homeDir(".kobalt/whatever")
}

but I guess you are advocating for a specific task to do this, i.e. installLocal.

cbeust avatar May 06 '16 17:05 cbeust

An specific task would be better :) I suppose that it should not be hard to do.

kmruiz avatar May 06 '16 17:05 kmruiz