aboutsummaryrefslogtreecommitdiff
path: root/stage2/BuildDependency.scala
Commit message (Collapse)AuthorAgeFilesLines
* Correctly interact with build in cwd instead of loading it's managed build ↵Christopher Vogt2016-04-061-2/+2
| | | | in case of a BuildBuild.
* Implement alternative resolversChristopher Vogt2016-04-031-0/+1
| | | | | | | | | | | | This commit also - requires Dependencies to explicitly implement canBeCached - unifies some logic for dependency downloading - moves SBT-like dependency DSL into its own trait - error message showing build directory for exceptions in builds Not splitting this up in favor of faster progress to 1.0. The user facing API can probably be slightly improved using implicits inside of BasicBuild, but we can do that later.
* Makes zinc usage smarter, so we do not need to call it when no files changed ↵Christopher Vogt2016-03-301-1/+1
| | | | | | (and safe up to 0.1s for each call) There still seem to be 2 bugs related to CBT development in the code. One if you simpy save a stage1 file unchanged and re-run cbt, it fails to call Stage2.run reflectively. Also in case of compile errors in stage1, a TrappedExitCode exception is thrown and not caught.
* sort transitiveDependencies by exported classpath for hopefully more ↵Christopher Vogt2016-03-121-0/+1
| | | | determinism between dev machines and circle ci
* Improved how to express dependenciesChristopher Vogt2016-03-121-1/+1
| | | | | | Add - Constructor syntax for cross-scala-version dependencies (as rightfully requested on reddit) and encouraged over SBT's still supported operator syntax - Add support for classifiers other than "sources"
* cleanup: whitespace changes, separated more things into their own files, use ↵Christopher Vogt2016-03-071-0/+36
++ for strings everywhere. Added ++ method to File and URL and use it in many places