Commit Graph

39 Commits

Author SHA1 Message Date
Mark Harrah a38bce8d41 Transition to all camelCase key labels.
1. Hyphenated labels are still accepted when parsing scoped keys (so 'sbt test-only' still works)
   There is currently no timeline for removing this support for hyphenated keys.
2. Only camelCase is shown for tab completion.
3. AttributeKey.rawLabel provides the unnormalized label.
   This should only be used to implement support for accepting hyphenated keys as input for compatibility.
4. AttributeKey.normLabel provides the normalized label (hyphenated converted to camelCase)
2012-11-17 20:23:07 -05:00
Mark Harrah 2c7e9cd893 Scala 2.10.0-M7 2012-11-17 20:23:06 -05:00
Mark Harrah eecaeafbdf reorganization of main/
* split several source files
* move base settings sources (Scope, Structure, ...) into main/settings/
* breaks cycles.  In particular, setting system moved from Project to Def
2012-11-17 20:19:24 -05:00
Mark Harrah 364d49d4b4 Translate `show x y` into `;show x ;show y` . fixes #495 2012-07-06 10:28:51 -04:00
Mark Harrah 3d0eb1ac11 better fix for tab completion on invalid project IDs 2012-07-01 15:16:42 -04:00
Mark Harrah 9cf2c41fb8 fix exception thrown when tab completing invalid project name 2012-05-21 22:23:44 -04:00
Mark Harrah 98c98f9c26 split command core to main/command/ 2012-01-29 14:36:27 -05:00
Mark Harrah 795b924f46 reimplement lighter support for controlling aggregation 2012-01-09 08:01:24 -05:00
Mark Harrah 82326cc899 new aggregation approach, still need exclusion mechanism 2012-01-09 08:01:24 -05:00
Mark Harrah ec48779829 moved task axis before the key 2012-01-09 08:00:29 -05:00
Mark Harrah 078b72ee48 Add help for 'show' command. Fixes #236. 2011-10-20 22:59:30 -04:00
Mark Harrah 541004419f provide consecutive tab press count for completion combinators 2011-09-20 20:51:47 -04:00
Mark Harrah 70dcae84ee preserve key+configuration ambiguity through task+extra parsing. fixes #135 2011-08-05 21:59:49 -04:00
Mark Harrah a19d5a799c try out simplified display of scoped keys 2011-08-04 07:20:25 -04:00
Mark Harrah a1dc17b2c6 allow task axis to be specified when the setting has no instances with it specified. fixes #121 2011-07-24 22:35:27 -04:00
Mark Harrah f7d2ff713b fix key search order 2011-05-29 19:17:31 -04:00
Mark Harrah 9dc9ccd0d3 Use standard {build}/id syntax for 'project' command 2011-05-07 22:02:06 -04:00
Mark Harrah 97fcbb6aaf filter task axis for tab completion 2011-05-07 22:02:05 -04:00
Mark Harrah f8bcf910c2 show slash with project IDs instead of as a separate token 2011-04-26 21:02:31 -04:00
Mark Harrah daa58adc85 work on parser error handling 2011-04-25 20:20:05 -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 aa395583b5 provide access to per-build and build-global keys from command line
[build-uri]/key for per-build
*/key for build-global
2011-03-25 21:42:04 -04:00
Mark Harrah cc1e02f6a3 allow unqualified 'test', no longer requiring 'test:test' 2011-03-25 18:24:45 -04:00
Mark Harrah e498b9bd3a tab completion fixes and cleanup 2011-03-24 21:28:02 -04:00
Mark Harrah 63b1c3441b work on displaying task errors 2011-03-20 22:54:01 -04: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 19698e308e keys cleanup part 2 2011-02-27 00:02:50 -05:00
Mark Harrah 218ccc2c9f aggregation 2011-02-21 10:07:39 -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 552be510ad restrict configuration and project ID to valid values at parser level for tab completion 2011-02-19 08:49:30 -05:00
Mark Harrah 8ad8718366 rename 'get' to 'inspect', merge 'delegates' command into it 2011-02-15 18:41:01 -05:00
Mark Harrah c9b932acd1 cleanup/rework related to Settings/InputParser
- drop fillThis: handle in injectStreams instead
- simplify InputParser construction (at the expense of implementation simplicity)
- split out ScopeKey/initialization parts of Setting with separate Initialize trait
  + makes Apply obsolete
  + makes the Initialize trait properly composable
  + this allowed splitting the InputParser definition into
    an Initialize for parsing and one for the action
- implement test-only
- inject resolved scope
2011-02-11 20:22:17 -05:00
Mark Harrah cbdabc1383 handle invalid command names in action parser (by ignoring them) 2011-02-11 20:12:15 -05:00
Mark Harrah 3de34c6569 'show' can prefix task to display its result 2011-02-10 08:13:48 -05:00
Mark Harrah c1cc482b94 overhaul Streams injection 2011-02-05 21:39:34 -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 db20122626 allow default configuration to be implied for selecting task to run 2011-02-02 19:35:46 -05:00
Mark Harrah f182b3a896 'act' command for running tasks 2011-01-25 22:23:03 -05:00