You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some trial and error I understood a part of how the sbt shell parses scoped keys, which I didn't understand from the docs and, therefore, I think should be expanded upon.
Given (this was using sbt 0.13.7)
lazy val root = project aggregate core
lazy val core = project
here I'm getting the wrong answer because I'm asking the question wrong:
Note, I was only able to understand because I was using a multi-module setup, which showed core/*:test::publishArtifact, which isn't what I was after. In a single module setup this would have just shown true.
The text was updated successfully, but these errors were encountered:
Indeed. In fact if the sbt shell were a REPL it would be very, very useful.. I could stop needing to drop in and out of consoleProject to do things like resolvers.eval foreach println..
After some trial and error I understood a part of how the sbt shell parses scoped keys, which I didn't understand from the docs and, therefore, I think should be expanded upon.
Given (this was using sbt 0.13.7)
here I'm getting the wrong answer because I'm asking the question wrong:
when I should be asking
Note, I was only able to understand because I was using a multi-module setup, which showed
core/*:test::publishArtifact
, which isn't what I was after. In a single module setup this would have just showntrue
.The text was updated successfully, but these errors were encountered: