Created
February 21, 2011 20:21
-
-
Save harrah/837650 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You'll need 0.9.x set up (probably best to track 0.9 branch at this point): | |
https://github.com/harrah/xsbt/tree/0.9 | |
$ git clone git://github.com/jorgeortiz85/rogue.git | |
$ cd rogue/ | |
$ git checkout xsbt | |
$ xsbt | |
> compile | |
... | |
> last compile | |
... | |
> last-grep joda compile | |
... | |
> show update | |
... | |
> inspect update | |
... | |
An explicit 'update' is not necessary- it should happen whenever dependency | |
configuration has changed since the last update. | |
Note that tab completion is supported for the arguments to 'last', 'last-grep', | |
and 'show'. On a supported system, last-grep will highlight the search term | |
in the result. As implied, 'last' and 'last-grep' only show the output from | |
the previous execution. | |
'show' runs its argument and calls toString on the result of the task. It won't | |
necessarily be readable, as in this case with 'update' where the result is a | |
Map with several entries. Here the point is to show that 'update' provides | |
the mapping from configuration to the list of jars for that configuration. | |
'inspect' shows information about a setting or task. For example, from | |
'inspect update' we see that 'managed-classpath' uses 'update'. You can then | |
do 'show managed-classpath' and 'inspect managed-classpath' and so on. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment