Commit Graph

42 Commits

Author SHA1 Message Date
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 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
Indrajit Raychaudhuri 7c0952a266 Tweak ReadDetailed message per suggestion 2011-11-23 04:12:31 +05:30
Indrajit Raychaudhuri 15177e92a2 Streamline and update help messages for built-in commands 2011-11-23 03:37:10 +05:30
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 02f666ec0e miscellaneous fixes 2011-08-31 20:59:40 -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 30baf74169 improved global logging and 'last' command 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 5ec6a0479f fix help message for 'set' 2011-06-29 07:47:33 -04:00
Mark Harrah fb60ba1e11 help: alignment and add tasks 2011-05-28 17:02:16 -04:00
Mark Harrah 8836b83ba3 support earlier launchers 2011-04-23 16:01:42 -04:00
Mark Harrah 1de086755b command logging through Streams, 'last' without a key to redisplay it 2011-03-21 20:26:04 -04:00
Mark Harrah 63b1c3441b work on displaying task errors 2011-03-20 22:54:01 -04:00
Mark Harrah f18241395b 'reload plugins' to change to plugins project
'reload return' to change back to original project.
Declaring a plugin:
> reload plugins
> set libraryDependencies += ...
> reload return
2011-03-11 22:33:30 -05:00
Mark Harrah 70972c6499 normalize key names 2011-03-02 06:46:28 -05:00
Mark Harrah 4cd6e60360 add 'full' option to 'reboot' that cleans project/boot before restarting 2011-03-01 09:44:45 -05:00
Mark Harrah 19698e308e keys cleanup part 2 2011-02-27 00:02:50 -05:00
Mark Harrah 04910baf2f command cleanup, load project by default, prompt on load failure 2011-02-19 22:22:09 -05:00
Mark Harrah 8ad8718366 rename 'get' to 'inspect', merge 'delegates' command into it 2011-02-15 18:41:01 -05:00
Mark Harrah 11a76c9f3b last, last-grep 2011-02-12 16:23:40 -05:00
Mark Harrah b9b607aade delegates command 2011-02-06 12:26:20 -05:00
Mark Harrah c9a6d2f6b0 session manipulation commands
save, clear, list, and remove session settings
2011-02-02 22:56:11 -05:00
Mark Harrah f1af2c1cbc get,set,eval commands 2011-01-25 07:24:52 -05:00
Mark Harrah c3a265dbd3 redo Command to use Parser
nested commands still need work
2011-01-22 14:01:59 -05:00
Mark Harrah 6960d24158 part I of revised approach to commands/projects
no privileged project member of State
no separation of Command and Apply, so no pre-filtering on State
use entries in State attributes map instead of mixing in traits to project object:
  HistoryPath, Logger, Analysis, Navigate, Watch, TaskedKey
rework Navigation to be standalone instead of mixin
2011-01-18 18:48:32 -05:00
Mark Harrah ccf0508ce6 cleanup, small fixes 2010-11-24 14:08:20 -05:00
Mark Harrah f6bd013cd3 update help for 'iflast' 2010-10-30 13:24:45 -04:00
Mark Harrah f462cda1fb add 'project /' and 'project ..' commands 2010-10-30 13:24:23 -04:00
Mark Harrah 87842346c6 rename compile command to avoid conflict with compile task 2010-09-21 22:32:54 -04:00
Mark Harrah 67682f32d3 implement ~ 2010-09-06 00:13:53 -04:00
Mark Harrah 018ef2b3c7 add failure wall command '--' 2010-09-05 11:16:53 -04:00
Mark Harrah 6b4844094a project loading 2010-09-05 11:12:44 -04:00
Mark Harrah fec83c1470 fix help for 'compile' 2010-09-05 10:49:49 -04:00
Mark Harrah 8c02f9f478 rename Compile member to avoid conflict with pending change 2010-09-04 08:25:34 -04:00
Mark Harrah 050f9db501 rework ConsoleLogger
can send output to a PrintWriter
control over color, still need custom formatter
replace IvyLogger with normal Logger
2010-09-04 08:24:26 -04:00
Mark Harrah 23bda55124 compile, discover, append commands 2010-08-04 19:51:12 -04:00
Mark Harrah 767a1e47c1 adding more commands 2010-07-27 23:01:45 -04:00