mirror of https://github.com/sbt/sbt.git
10 lines
317 B
Plaintext
10 lines
317 B
Plaintext
$ mkdir sub3 sub1 sub2
|
|
> consoleProject
|
|
> 'sub3/consoleProject'
|
|
> 'sub1/consoleProject'
|
|
|
|
> project sub2
|
|
# This can't actually fail, unfortunately. The repl traps the exception and continues normally.
|
|
> 'set initialCommands := """assert((name in currentRef get structure.data) == Some("sub2")) """ '
|
|
> consoleProject
|