Commit Graph

261 Commits

Author SHA1 Message Date
Mark Harrah 8d06ba2d92 cleanup some sequencing settings in Defaults 2011-04-09 19:58:49 -04:00
Mark Harrah ff7b5138c5 fix excessive Incomplete lifting
unnecessarily led to multiple tasks reported as failing for a single cause
2011-04-09 18:43:21 -04:00
Mark Harrah 7b2e4978fb fix line number off by one in configuration error messages 2011-04-09 15:49:35 -04:00
Mark Harrah 650bef7b06 demo script command 2011-04-09 15:04:18 -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 51e8dac35c tweaks to EvaluateConfiguration 2011-04-08 19:32:01 -04:00
Mark Harrah 1b147b4953 reorganize main 2011-04-08 19:15:13 -04:00
Mark Harrah 76ab8f8e53 detect cyclic references after freeze and translate nodes to keys 2011-04-07 22:51:25 -04:00
Mark Harrah 0b4d8fb505 fix collision with name 'state' in 'console-project' 2011-04-07 22:50:48 -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 dfb0a9ec8c put remaining keys in Keys 2011-04-06 21:00:48 -04:00
Mark Harrah 5a67998490 options specific to each test task, consolidates streams to the right task 2011-04-06 20:55:30 -04:00
Mark Harrah 1e7d628dbb lift anonymous Incompletes to the next keyed, empty Incomplete 2011-04-06 20:52:48 -04:00
Mark Harrah 159a3fe8f3 credentials and patterns for resolvers 2011-04-05 18:44:47 -04:00
Mark Harrah f2270262d2 ScopedTask[t] -> ScopedKey[Task[t]] implicit 2011-04-05 07:10:28 -04:00
Mark Harrah a1c3ffb376 add 'initialize' setting 2011-04-04 21:22:19 -04:00
Mark Harrah 15f490c625 fix input tasks not being keyed & not showing up in failed task list 2011-04-04 19:10:35 -04:00
Mark Harrah a750c1563f Java/Scala compilation order support 2011-04-03 22:12:51 -04:00
Mark Harrah a5f3e1b839 clean up build definition exceptions and messages 2011-04-03 22:12:51 -04:00
Mark Harrah 8059b1a164 ability write graph of settings dependencies to dot format 2011-04-01 21:08:08 -04:00
Mark Harrah db5019a178 include publish-to resolver in other-resolvers 2011-04-01 21:06:49 -04:00
Mark Harrah d79fa21348 fix publish patterns for maven style publishing 2011-04-01 21:06:07 -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 4821f16eb3 scalaVersion in GlobalScope, delegates test 2011-03-28 22:29:35 -04:00
Mark Harrah 496cd05de8 run-main for specifying main class to run 2011-03-28 17:19:12 -04:00
Mark Harrah 2ab8f5c3c0 fixes to 'inspect' delegates and provided by outputs 2011-03-25 22:01:21 -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 135609e5b0 temporary hack to avoid reading Analysis every compile 2011-03-25 21:37:17 -04:00
Mark Harrah dd012099d2 include 'bundle' packaging type on classpath in addition to 'jar' 2011-03-25 18:25:52 -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 07dbba65d1 memoize aggregation, cleanup 2011-03-23 07:06:51 -04:00
Mark Harrah 8c0d441fec clean up Ivy-related logging 2011-03-22 20:53:33 -04:00
Mark Harrah e0b453225e logging for packaging 2011-03-22 20:42:21 -04:00
Mark Harrah 0123351a8f initially only display originating task failures only 2011-03-21 20:50:20 -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 7b4c16f294 cleanup 2011-03-19 23:22:18 -04:00
Mark Harrah 4ce57596d9 fix exit code 2011-03-19 14:07:03 -04:00
Mark Harrah 50f1bd73d6 add convenience method for evaluating tasks 2011-03-19 00:04:37 -04:00
Mark Harrah 7c7af7c998 use 'distinct' for State.++ to ensure commands are not duplicated 2011-03-19 00:04:07 -04:00
Mark Harrah 6215819890 'update' caching now takes into account whether jars still exist 2011-03-17 21:29:35 -04:00
Mark Harrah afbd23e9f3 global plugin configuration in ~/.sbt/plugins/
just like <base>/project/plugins/ but included in all projects
2011-03-16 22:22:46 -04:00
Mark Harrah 37e24daebf use stable ordering for PathFinder.getFiles 2011-03-16 22:22:20 -04:00
Mark Harrah 15e785a1e4 more stable managed classpath ordering 2011-03-16 22:21:02 -04:00
Mark Harrah ac280e5fe7 if sbtPlugin is true, sbt dependency and resolver are added 2011-03-16 20:09:59 -04:00
Mark Harrah 4a8e79befb retrieve to build, update-classifiers action
set retrieve := true to have dependencies retrieved to the build
the location is by default shared by all projects in a build
  (<built-root>/lib_managed/), but can be per-project
update-classifiers and update-sbt-classifiers retrieves artifacts with classifiers
  for project dependencies and for sbt, respectively
The default setting is classifiers := Seq("javadoc", "sources")
2011-03-15 22:12:59 -04:00