aboutsummaryrefslogtreecommitdiff
path: root/stage2
Commit message (Collapse)AuthorAgeFilesLines
* close jar file in case of exception (#175)Jan Christopher Vogt2016-06-231-20/+22
|
* Scalafmt plugin implementation (#156)Nikolay Tatarinov2016-06-231-0/+1
| | | | | | | | | | | | | | * scalariform: improve logging, declare tasks final * scalafmt plugin implementation * add scalafmt and scalariform plugins and examples to tests * fix logging guarded logging behaviour * add notes about formatting check to README * fix compilation error in examples
* scalariform plugin naive implementationrockjam2016-06-201-0/+1
|
* refactor/simplify scalaJs plugin and exampleChristopher Vogt2016-06-191-0/+1
| | | | | | - Restructure code as 1 library case class and 1 Build mixin trait. A library is generally easier to understand and could be re-used independently. 1 trait seems simpler than several here. - Let not the plugin create the multi-project build, but the user project manually. I think while this adds some minor code overhead it is much simpler to understand. Fewer tasks and other moving parts needed. - Remove verbose nested sbt-style folder structure. It's simpler without it :).
* better name for DirectoryDependencyChristopher Vogt2016-06-196-117/+17
| | | | | seems to be more precise than BuildDependency, hence hopefully more readable also cleaned up Scaffolding and added DirectoryDependency example
* built-in plugin structure improvementsChristopher Vogt2016-06-196-71/+56
| | | | | | - move plugins into cbt namespace - enable scalac warnings in builds by default - merged language flags into AdvancedScala trait
* simplify logic that delegates to test build and runs itChristopher Vogt2016-06-192-25/+6
|
* fix organization URL typeChristopher Vogt2016-06-191-1/+2
|
* add support for compile time only dependenciesChristopher Vogt2016-06-151-1/+4
|
* separate sbt layout and scalatest plugins and create a more general plugin ↵Christopher Vogt2016-06-152-6/+15
| | | | architecture
* Get rid of Build default imports to reduce noise in build files. This also ↵Christopher Vogt2016-06-1511-48/+9
| | | | changes builds from using immutable.Seq to using Predef.Seq in favor of simplicity over purity. This has been discussed on gitter.
* support for git dependencies on projects in subdirectoriesChristopher Vogt2016-06-152-11/+16
|
* turn Build base classes into traits for less verbosity and uniform usage ↵Christopher Vogt2016-06-158-21/+25
| | | | with any other plugin
* adjust organization part of pom data model to better match the specChristopher Vogt2016-06-153-10/+14
|
* get rid of pomExtra to not promote untyped ways of creating poms (people can ↵Christopher Vogt2016-06-152-4/+0
| | | | always transform the xml later if really needed)
* Add typed open source licensesChristopher Vogt2016-06-151-4/+52
|
* pre-configuration for github projects and recommended settings (maybe rename ↵Christopher Vogt2016-06-153-1/+19
| | | | this later)
* less need for pomExtraChristopher Vogt2016-06-152-0/+14
|
* starting point for type-safe licensesChristopher Vogt2016-06-152-1/+9
|
* scalajs cross project support as pluginKatrin Shechtman2016-06-131-7/+5
|
* scala paradise pluginChristopher Vogt2016-06-091-0/+29
|
* Always create directory before trying to write fileChristopher Vogt2016-06-084-7/+6
|
* Make publishSnapshot also publish checksumsChristopher Vogt2016-06-011-11/+13
|
* pass command line arguments through to cbt tools scala and cbt tools ammChristopher Vogt2016-06-011-4/+5
|
* update ammonite (doesn't help though, still doesn't start through cbt tools)Christopher Vogt2016-06-011-1/+1
|
* minor cleanupChristopher Vogt2016-06-012-2/+1
|
* Show more info on stderr when uploading filesChristopher Vogt2016-06-011-1/+1
|
* read sonatype credentials from cbt installation, not from other checked out ↵Christopher Vogt2016-05-262-1/+2
| | | | version
* Publish to right destination based on version suffixChristopher Vogt2016-05-262-8/+11
|
* Fix scalaMajorVersion in artifact idChristopher Vogt2016-05-262-3/+6
|
* Fix bug in jar contents path. Should be relative, not absolute.Christopher Vogt2016-05-251-1/+1
|
* Hack to not display ExitCode unnecessarilyChristopher Vogt2016-05-111-2/+3
|
* add r alias for runChristopher Vogt2016-05-031-0/+1
|
* annotate required return type of main methodChristopher Vogt2016-05-031-1/+1
|
* improve build file templatesChristopher Vogt2016-05-031-18/+28
|
* encourage whitespace in parenthesis (more readable ;))Christopher Vogt2016-05-031-6/+6
|
* create scaffolding for Main fileChristopher Vogt2016-05-032-2/+13
|
* Convenience factory methods for ResolversChristopher Vogt2016-05-034-52/+43
|
* rename admin into tools, which seems more appropriateChristopher Vogt2016-05-022-7/+7
|
* fix exit code returnChristopher Vogt2016-04-291-6/+6
|
* Fix use compatibility interfaces from main cbtChristopher Vogt2016-04-291-3/+1
|
* Fix building cbt as a cbt projectChristopher Vogt2016-04-293-5/+10
|
* Support recursively running tasks across all builds in transitive dependenciesChristopher Vogt2016-04-281-0/+48
|
* Reproducible builds, composing different CBT version and various improvementsChristopher Vogt2016-04-2811-119/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One large commit, because it is was hard to do these things in isolation or to separate them now. CBT now knows how to load other versions of itself - Support for reproducible builds (!), by providing a CBT git URL and hash to tie build to - Support for composing builds using different CBT versions (!) - introduce (in compatibility/) Java interfaces all CBT versions need to stay compatible with, so they can talk to each other. And put extension methods to these interfaces in cbt package object Class loading - add some sanity checks for class loading - improve class loader invalidation to fix bugs - implement caching in Java land class loaders. In particular to prevent the system class loader to repeatedly generate ClassNotFound exceptions in each sink of the class loader DAG for non JDK classes (meaning major speed up for projects with many classes). - getting rid of transient class loader cache unifying into "persistent" one instead (which is still wrong as invalidation eventually needs to invalidate entire sub graphs of the class loading DAG, not single class loaders. Seems like we'll have to abandon the hashmap based approach and tie caching to dependency objects) Other Caching - cache dependencies extracted from xml files, which was one major time killer, but invalidate cache when cbt changed (maven dependency user facing api needs simplification now!) - memorize last successful compile time in the file system rather than memory, to guard against unnecessary recompiling even across launches (or when using cbt direct) Structural improvements - Factor out ClassLoaderCache on Java land into its own class. - Port MultiClassLoader to Java land, to better compose classloaders in NailgunLauncher. - Remove many global constants and variables (in object paths and in NailgunLauncher) and pass them through instead. Needed for composing of builds. - move more code from resolver into Lib for less entanglement with classes (needed to compatibility interfaces) and better re-usability - remove canBeCached. Everything can be cached now, but we need to be careful about correct invalidation. - remove build announcing produced jars. We can add if ever needed. - change callNullary to return exit code instead of Unit as preparation for next commit introducing "recursive" ScalaTest - Makes ScalaTest support work (still a bit too inflexible, but mostly works well)
* only run tests if there are actually tests to run (useful for recursively ↵Christopher Vogt2016-04-282-14/+18
| | | | running tests in nested projects)
* Build mixin with recommended settingsChristopher Vogt2016-04-281-1/+12
|
* make cacheabilty of git dependency depend on cacheability of it's build. ↵Christopher Vogt2016-04-281-13/+16
| | | | Also separate out regex, so we can use it to detect cbt version urls later
* from from File to Path directlyChristopher Vogt2016-04-281-2/+3
|
* move soure file filterin logic into library for reusabilityChristopher Vogt2016-04-282-8/+11
|
* Make sonatype credentials customizable from Build class rather than hard codedChristopher Vogt2016-04-282-11/+23
|