Mark Harrah
8f639ffc4d
convenience methods for working in console-project
2011-04-20 23:33:53 -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
f55414355e
improve error messages for cycles
2011-04-13 19:06:36 -04:00
Mark Harrah
e6b816d86e
add additional in scope identifiers
2011-04-08 22:13:53 -04:00
Mark Harrah
50e453c70c
provide more convenient access to BuildStructure and all projects
2011-04-08 22:03:41 -04:00
Mark Harrah
2a737690a8
allow Scala-level cyclic references between projects
...
this occurs legally when different dependencies go in
reverse directions, as with delegates
the direct arguments to Project.apply are now call-by-name
the modifying functions like 'aggregate' cannot be call-by-name
since they are varargs
2011-04-07 22:48:01 -04:00
Mark Harrah
8059b1a164
ability write graph of settings dependencies to dot format
2011-04-01 21:08:08 -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
2ab8f5c3c0
fixes to 'inspect' delegates and provided by outputs
2011-03-25 22:01:21 -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
caee48130e
split out SessionSettings from Project.scala
2011-03-21 17:56:24 -04:00
Mark Harrah
63b1c3441b
work on displaying task errors
2011-03-20 22:54:01 -04:00
Mark Harrah
50f1bd73d6
add convenience method for evaluating tasks
2011-03-19 00:04:37 -04:00
Mark Harrah
09b36a4476
make global scope explicit in command-retrieval
2011-03-13 21:42:44 -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
f298d3a8f2
put configurations into default build scope
2011-03-05 08:25:17 -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
11c2b2239c
continuous polling interval now in milliseconds
2011-03-01 08:51:14 -05:00
Mark Harrah
98bd962952
make "globals" per-build definition
2011-02-27 16:28:00 -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
4f4ae170d3
work on plugins, added console-project, re-integrated more tests
2011-02-24 23:30:06 -05:00
Mark Harrah
ba8f43a23e
starting to convert integration tests
2011-02-22 22:36:48 -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
83cb152fd7
rename 'inherits' to the more appropriate 'delegates'
2011-02-14 18:56:29 -05:00
Mark Harrah
11a76c9f3b
last, last-grep
2011-02-12 16:23:40 -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
74013f3cc7
per-project commands with Commands configuration
2011-02-08 20:38:18 -05:00
Mark Harrah
f780d67a78
add reverse dependencies to 'get' output
2011-02-08 20:36:29 -05:00
Mark Harrah
06a346a543
'get' now shows defining scope, related definitions, dependencies
2011-02-06 11:33:56 -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
8bfe9a0208
initial set of default settings
...
still need key consolidation and import
2011-02-03 07:17:47 -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
bdf643f57a
minor rearranging
2011-02-02 19:27:55 -05:00
Mark Harrah
65b341cdf0
translate Uninitialized message to use 'display'
2011-01-31 18:16:25 -05:00
Mark Harrah
d9d4869e49
inject current Configuration into settings
2011-01-31 18:15:15 -05:00
Mark Harrah
b9e4c9299b
work on special settings, TupleN/FunctionN interface for map/flatMap
2011-01-30 23:19:28 -05:00
Mark Harrah
1c9caf40a3
minor additions
2011-01-29 11:22:59 -05:00
Mark Harrah
d283bd2cd2
add builder convenience methods to Project
2011-01-25 22:17:28 -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
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