Commit Graph

85 Commits

Author SHA1 Message Date
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
Mark Harrah a5f3e1b839 clean up build definition exceptions and messages 2011-04-03 22:12:51 -04:00
Mark Harrah 2b37df87b5 'inspect actual <key>' for actual dependencies, 'inspect <key>' for declared 2011-03-29 20:53:21 -04:00
Mark Harrah e498b9bd3a tab completion fixes and cleanup 2011-03-24 21:28:02 -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 f34c3b5837 some renamings and removals suggested by Heiko
clarify command-related members of State:
  processors -> definedCommands
  commands -> remainingCommands
drop some Extracted members:
  curi replaced by currentRef.build
  cid replaced by currentRef.project
2011-03-21 17:56:41 -04:00
Mark Harrah 63b1c3441b work on displaying task errors 2011-03-20 22:54:01 -04:00
Mark Harrah 7b4c16f294 cleanup 2011-03-19 23:22:18 -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 c0c287d50e reintegrate history commands, add proper parsing for recursive commands 2011-03-11 16:52:44 -05:00
Mark Harrah f6fe55f57c space adjustments for alias-related parsers 2011-03-06 08:32:51 -05:00
Mark Harrah 3a85bd47d6 restore missing piece of alias body that prevents looping 2011-03-06 08:21:16 -05:00
Mark Harrah 60d9355b54 add build level configuration
made ProjectRef semantics explicit
2011-03-03 06:44:19 -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 11c2b2239c continuous polling interval now in milliseconds 2011-03-01 08:51:14 -05:00
Mark Harrah 19698e308e keys cleanup part 2 2011-02-27 00:02:50 -05:00
Mark Harrah 83866ffb42 incremental tests, misc fixes 2011-02-26 20:34:18 -05:00
Mark Harrah 329709c750 configurable shell prompt
for example:
 Command.ShellPrompt := {
   s => Project.extract(s).cid + "> "
 }
2011-02-21 19:35:05 -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 74013f3cc7 per-project commands with Commands configuration 2011-02-08 20:38:18 -05:00
Mark Harrah b9b607aade delegates command 2011-02-06 12:26:20 -05:00
Mark Harrah 06a346a543 'get' now shows defining scope, related definitions, dependencies 2011-02-06 11:33:56 -05:00
Mark Harrah eb10f7ee94 improve Setting construction
- make all constructing methods end in = for lowest precedence
- rename Scope constructing method 'apply' to 'in' to allow 'apply' to
    be used on single settings as well as tuples and 'in' reads better
2011-02-04 22:02:39 -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 6b91ad59fd Eval-related improvements
- support import clauses
- error display: source name, line numbers for each expression
- for 'eval', 'get', 'set', and .sbt files, use default imports and import from Plugins, Builds
2011-01-26 19:49:54 -05:00
Mark Harrah f182b3a896 'act' command for running tasks 2011-01-25 22:23:03 -05:00