Commit Graph

40 Commits

Author SHA1 Message Date
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
Mark Harrah f1af2c1cbc get,set,eval commands 2011-01-25 07:24:52 -05:00
Mark Harrah 2687836ca5 improve commands, proper build/project base resolution
finish alias support
better project printing in 'projects'
completion support for 'help'
resolve URIs in ProjectRef against base URI of defining build in keys and project relations
resolve base directories and record build URI in BuildUnit
preserve relative paths in File to URI conversion for later resolution
2011-01-23 22:34:17 -05:00
Mark Harrah 2d394c7551 move applyEffect to Command 2011-01-22 15:07:59 -05:00
Mark Harrah 784d83af17 make explicit the separation between parsing and execution
Parser[() => State] instead of Parser[State]
2011-01-22 15:01:10 -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 087bc569e0 multi-project model based on Settings and ProjectRef 2011-01-18 18:48:32 -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 16e2b71ccc don't print help for internal commands 2010-11-24 14:10:48 -05:00
Mark Harrah f462cda1fb add 'project /' and 'project ..' commands 2010-10-30 13:24:23 -04:00
Mark Harrah df721ddf15 reintegrate support for sending commands over loopback 2010-09-27 18:59:35 -04:00
Mark Harrah d185e0aeb4 properly fail when a task fails 2010-09-27 18:59:14 -04:00
Mark Harrah c2a9a95baf redo external projects
move externals from State to ProjectInfo
2010-09-12 22:58:22 -04:00
Mark Harrah 129f1e152d remove comment that no longer applies 2010-09-12 22:44:33 -04:00
Mark Harrah fce5330464 use Incomplete.show for displaying task failures 2010-09-12 22:43:42 -04:00
Mark Harrah 7b64a8f526 project navigation changes
projectClosure takes State
save initial project in State
2010-09-08 14:40:24 -04:00
Mark Harrah 0c12c5e2bd merge ProjectContainer into Project, rearrange sub project methods 2010-09-06 00:15:20 -04:00
Mark Harrah 323115e263 register loadp, ~, -- commands 2010-09-06 00:13:59 -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 cc4fc95dba add generic attribute map to State 2010-09-05 10:56:24 -04:00
Mark Harrah 8c02f9f478 rename Compile member to avoid conflict with pending change 2010-09-04 08:25:34 -04:00
Mark Harrah 0c59e9d5a6 minor updates for p2 2010-08-30 09:10:25 -04:00
Mark Harrah 23bf3e55c7 merge two Tasked methods
In practice, the returned task is coupled to the conversion function,
so task and taskToNode were merged.  Also, renamed 'task' to 'act'.
2010-08-14 09:50:22 -04:00
Mark Harrah fe224479bc small cleanups to exception handling 2010-08-10 08:46:27 -04:00
Mark Harrah 39839f2c16 change from user commands extending Command directly to providing CommandDefinitions instance that creates commands 2010-08-10 08:44:34 -04:00
Mark Harrah 96df10aad2 ignore empty commands 2010-08-04 19:41:46 -04:00
Mark Harrah 758380979e command error handling 2010-08-04 19:41:11 -04:00
Mark Harrah 767a1e47c1 adding more commands 2010-07-27 23:01:45 -04:00
Mark Harrah 9c2268e919 task running command 2010-07-19 12:38:42 -04:00
Mark Harrah 1169493115 native type should be T => Option[O] not PartialFunction[T, O] 2010-07-19 12:31:22 -04:00
Mark Harrah d7b66458f2 first shot at general command/definition model 2010-07-17 12:07:41 -04:00
Mark Harrah 33434bc82b Cut size of final jar by 300k. 2009-10-17 22:40:02 -04:00
Mark Harrah b2fdc07505 Turned sbt launcher into a general Scala application launcher as described in launch.specification 2009-09-27 14:39:26 -04:00
Mark Harrah 76e81409df Updates to Ivy component and getting launcher component working. 2009-09-08 23:13:30 -04:00