Indrajit Raychaudhuri
69d45b7f5f
Use `provider.id.name` instead of hard-coded 'sbt' in `aboutString`
...
Also rearrange and reformat a bit
2012-03-02 06:05:14 +05:30
Mark Harrah
2137b29aa1
Merge pull request #369 from vigdorchik/Overwrite_setting
...
Overwrite previous setting if possible.
2012-02-28 07:48:44 -08:00
Indrajit Raychaudhuri
0a6f58a761
Remove use of deprecated `logger(s)` call
2012-02-28 19:07:47 +05:30
Eugene Vigdorchik
bb646d0437
SessionSetting to contain seq of line.
2012-02-27 11:46:23 +04:00
Eugene Vigdorchik
a52d36987c
Remember the range for settings read from .sbt files
2012-02-16 16:58:51 +04:00
Eugene Vigdorchik
8daa6d3279
Keep project selection upon reload.
2012-01-31 19:12:52 +04:00
Mark Harrah
98c98f9c26
split command core to main/command/
2012-01-29 14:36:27 -05:00
Mark Harrah
82326cc899
new aggregation approach, still need exclusion mechanism
2012-01-09 08:01:24 -05:00
Mark Harrah
79bbe8f8a4
fix tab completion of new inspect variations
2012-01-09 08:00:29 -05:00
Mark Harrah
fbe8630433
move calls to runExitHooks into the State.{reload,exit,reboot} commands. fixes #306
2011-12-16 08:21:54 -05:00
Mark Harrah
619b97d215
apply <module>* : command to apply State transformations defined by module names
2011-12-16 08:21:54 -05:00
Mark Harrah
7347e89f73
'set every <setting>' for overriding every definition of a key. fixes #154
2011-12-13 17:29:08 -05:00
Mark Harrah
454bc6095b
show definitions and uses of a key (not a full scoped key, just a key)
2011-12-13 17:29:08 -05:00
Mark Harrah
68027501f8
make ; a hard delimiter for multi-commands. fixes #270
2011-12-13 17:29:08 -05:00
Mark Harrah
5a5e230b61
put default boot commands into an overridable 'boot' command
2011-12-13 17:15:05 -05:00
e.e d3si9n
e85833b2de
"inspect tree <key>" command
...
This is a slightly cleaned up version of sbt-inspectr. When "inspect
tree <key>" is called, SettingGraph case class is created recursively
along the dependencies, calling the similar code as "inspect" command's
Project.details. Graph object then renders it as an ascii tree.
2011-11-23 00:49:27 -05:00
Mark Harrah
8743165d66
Adjust 'about' output because logging is now rotated.
2011-11-21 22:37:58 -05:00
Mark Harrah
03cd1ec3ab
need to explicitly trim whitespace in semicolon separated commands now. fixes #261 .
2011-11-09 18:30:35 -05:00
Mark Harrah
fa8fb49cc3
clean up last/global logging
...
add history of actually executed commands
2011-10-30 18:39:18 -04:00
Mark Harrah
e3e23287af
reorganize help, allow keys to be arguments to 'help' command
2011-10-20 22:59:31 -04:00
Mark Harrah
078b72ee48
Add help for 'show' command. Fixes #236 .
2011-10-20 22:59:30 -04:00
Mark Harrah
ddd70fcc77
inject 'log' method to State as convenience for CommandSupport.logger
2011-10-16 17:27:36 -04:00
Mark Harrah
2e38c8484b
defer validation of ;-separated commands until individual command is run. fixes #201
2011-10-01 14:40:14 -04:00
Mark Harrah
ba70e9d604
fix time at which task session state gets cleared
2011-09-24 21:18:24 -04:00
Mark Harrah
79131a60d1
sort output of 'projects' by name. fixes #182 .
2011-09-13 22:56:55 -04:00
Mark Harrah
b3291dc4ee
Print names of Plugins on classpath in 'about' command.
2011-09-03 17:30:38 -04:00
Mark Harrah
6ea27e893b
handle Scala version better in 'about' command
2011-08-18 08:23:43 -04:00
Mark Harrah
90f25b234e
Settings overhaul, intended to be source compatible where it matters.
...
Moves many methods previously provided by implicit conversions directly onto the classes
for better discoverability, especially with scaladoc.
1. Initialize now allowed in more places. Minor renamings in Initialize to avoid conflicts
a. map -> apply
b. get -> evaluate
2. Identity on Scoped* is deprecated- it is now redundant
3. Can now use += and <+= for String, Int, Long, Double settings.
There may be some problematic corner cases in inference, especially with +=, ++, <+=, <++=
4. Some classes with a scoped: ScopedKey[T] method now have scopedKey: ScopedKey[T] instead.
5. The implicit conversion to ScopedKey[T] is now deprecated. Use the scopedKey method.
6. :== and ::= are now private[sbt] to better reflect that they were internal use only.
2011-08-14 10:53:37 -04:00
Mark Harrah
a19d5a799c
try out simplified display of scoped keys
2011-08-04 07:20:25 -04:00
Mark Harrah
c195f943c0
aggregate 'last'. fixes #131
2011-07-27 19:50:59 -04:00
Mark Harrah
021009052e
don't print Uninitialized exception name
2011-07-25 21:59:22 -04:00
Mark Harrah
00c41ae59a
include logging backing file in 'about' command output
2011-07-24 17:36:42 -04:00
Mark Harrah
30baf74169
improved global logging and 'last' command
2011-07-24 17:36:42 -04:00
Mark Harrah
f654b03618
allow running last from load failure prompt
2011-07-24 17:36:42 -04:00
Mark Harrah
2d4d27e529
add 'about' command with sbt versions and Scala versions
2011-07-24 17:36:42 -04:00
Mark Harrah
109326d34b
additional warning when ignoring project load failure
2011-07-24 17:36:42 -04:00
Mark Harrah
a9315dbd49
Interpret empty string as retry on project load error.
2011-07-24 17:36:42 -04:00
Mark Harrah
f7cb85d36e
restrict discarding session settings error message to direct load/reload. fixes #99
2011-07-12 23:09:57 -04:00
Mark Harrah
b096d1b175
global settings preparation: separate compilation/loading stages of Eval
2011-07-09 16:54:41 -04:00
Mark Harrah
8d922b61ab
cleanup MainResult handling to enable finer control over reloading
2011-07-01 23:38:03 -04:00
Mark Harrah
be1bdbb350
use current project's logLevel for command logging
2011-06-10 23:40:25 -04:00
Mark Harrah
e5443141b1
error handling adjustments, including showing failing task in red (for #29 )
2011-05-30 22:10:01 -04:00
Mark Harrah
fb60ba1e11
help: alignment and add tasks
2011-05-28 17:02:16 -04:00
Mark Harrah
c432331ec0
sbt-based repl access with command line dependency declarations
...
based on the ideas of n8han, softprops, paulp
2011-04-23 15:26:44 -04:00
Mark Harrah
815ed50dcf
task/setting/attribute descriptions
2011-04-20 20:18:58 -04:00
Mark Harrah
dc6584ff68
scripts: change base directory
2011-04-18 18:26:57 -04:00
Mark Harrah
818382766e
add Types.idFun to replace Predef.identity, replace a :== overload
...
idFun[T]: T => T instead of identity[T](t: T): T
doesn't require a new class file when used as a function value
replaced overloads of :== that assigned the Scoped reference on
the right to the Scoped on the left with <<= scoped.identity
2011-04-16 11:24:58 -04:00
Mark Harrah
d1af51da72
support explicitly defining sequences of settings in .sbt files
2011-04-13 19:09:33 -04:00
Mark Harrah
2f2e24c87d
cross building
...
+, ++ require a space
+ <command>
++ <scala-version> [command]
set scala versions in crossScalaVersions
2011-04-09 20:42:57 -04:00
Mark Harrah
650bef7b06
demo script command
2011-04-09 15:04:18 -04:00