Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | propagate scala versions into aliased dependencies | Christopher Vogt | 2017-04-02 | 1 | -2/+2 |
| | | | | | not necessary for plugins yet, but will be when we allow choosing your scala version for build files | ||||
* | type-safe aliases for ports | Christopher Vogt | 2017-04-01 | 1 | -1/+2 |
| | |||||
* | make .scala sources 2.12 compatible | Christopher Vogt | 2017-04-01 | 1 | -2/+2 |
| | |||||
* | scalatest plugin for 2.12 (and move most code from plugin into library) | Christopher Vogt | 2017-03-30 | 1 | -1/+1 |
| | |||||
* | performance: cache moduleKey and make it’s string concat quicker | Christopher Vogt | 2017-03-27 | 1 | -1/+1 |
| | |||||
* | cache friendly equality for builds | Christopher Vogt | 2017-03-27 | 1 | -0/+7 |
| | |||||
* | start modularizing cbt into libraries | Christopher Vogt | 2017-03-27 | 1 | -7/+4 |
| | | | | | | | | | | this extracts certain parts of cbt into stand-alone libraries, which can be published to maven and used outside of cbt. This also adds scalariform for these parts of the code. This slows down cbt’s own build a lot because of the number of projects involved! So we’ll follow this by a bunch of performance tweak commits. | ||||
* | Unify reflectively loading builds from directories. | Christopher Vogt | 2017-03-20 | 1 | -14/+1 |
| | | | | | | | | | | THis is mostly cleanup and a little bit feature. Before it was done partially in 3 places, BuildBuild, loadRoot and GitDependency. Now DirectoryDependencies also support referencing sub-builds. Also introduce scalariform for the first few files of cbt's core code :). | ||||
* | better error than NullPointerException when directory does not exist | Christopher Vogt | 2017-03-19 | 1 | -2/+2 |
| | |||||
* | Get rid of the hacky "essential" plugins separation | Christopher Vogt | 2017-03-19 | 1 | -3/+3 |
| | | | | | | | Let’s keep move them back into stage2 again instead for reduction of complexity, cbt build speed and convenience of fewer manual dependencies. And for that let cbt just include eval from the start. | ||||
* | fix file watching for real | Christopher Vogt | 2017-03-12 | 1 | -20/+9 |
| | | | | | | | last file watching update didn’t work well enough. This now - rips out barbary watch service as it seems buggy crashing the jvm - make cbt exclusively write files to watch to a file - uses fswatch instead watching all files in that file | ||||
* | Merge pull request #415 from cvogt/completions | Jan Christopher Vogt | 2017-03-12 | 1 | -1/+3 |
|\ | | | | | rename taskNames to complete and pass in current readline buffer in fish for zsh and bash this still needs to be done. Also interpreting the buffer to complete the current command | ||||
| * | rename taskNames to complete and pass in current readline buffer in fish | Christopher Vogt | 2017-03-12 | 1 | -1/+3 |
| | | | | | | | | | | for zsh and bash this still needs to be done. Also interpreting the buffer to complete the current command | ||||
* | | make changes in builds trigger recompilation of projects | Christopher Vogt | 2017-03-12 | 1 | -1/+1 |
|/ | |||||
* | revamp loop feature | Christopher Vogt | 2017-03-12 | 1 | -1/+19 |
| | | | | | | | | | | | | | | | | | | | | | now CBT and builds pass their file names to the current build via the context. The build then simply blocks until any file changes. Then it returns with a special exit code, which the bash script picks up and restarts CBT. Thats works well for looping over project files. It works less well for looping over builds and CBT itself. For this a build has to success once, so that the .cbt-loop.tmp file exists. Then looping works for cbt and builds, but the file list is not updated in case of compile errors, etc. Fixes - https://github.com/cvogt/cbt/issues/406 - https://github.com/cvogt/cbt/issues/405 - https://github.com/cvogt/cbt/issues/202 - https://github.com/cvogt/cbt/issues/50 - https://github.com/cvogt/cbt/issues/22 We should improve for 1.0 in https://github.com/cvogt/cbt/issues/419 to handle looping over build files and cbt itself smarter. | ||||
* | Make GitDependency and DirectoryDependency simply return Build objects | Christopher Vogt | 2017-03-11 | 1 | -1/+1 |
| | |||||
* | more concise runMain in more places | Christopher Vogt | 2017-03-09 | 1 | -3/+2 |
| | |||||
* | avoid non-existent directory warning | Christopher Vogt | 2017-03-09 | 1 | -1/+1 |
| | |||||
* | fix scala2 repl not working | Christopher Vogt | 2017-03-06 | 1 | -2/+3 |
| | |||||
* | minor refactorings | Christopher Vogt | 2017-03-06 | 1 | -8/+5 |
| | |||||
* | support resolving unsigned dependencies | Christopher Vogt | 2017-03-06 | 1 | -2/+2 |
| | |||||
* | return Seq[URL] from publish task and \n separate Seqs in std out | Christopher Vogt | 2017-03-06 | 1 | -1/+1 |
| | |||||
* | fix package bug | Christopher Vogt | 2017-03-06 | 1 | -1/+1 |
| | |||||
* | separate type-safe proguard wrapper into self-contained library | Christopher Vogt | 2017-03-04 | 1 | -3/+10 |
| | | | | also make logic to maintain auto-generated sections re-usable | ||||
* | handle trying to package / publish with no source files via exception | Christopher Vogt | 2017-03-04 | 1 | -0/+4 |
| | | | | this saves us from having to do conditionals in several places | ||||
* | do not print () when evaling | Christopher Vogt | 2017-03-04 | 1 | -1/+1 |
| | |||||
* | define central publish tasks, so multiple trait can add to it | Christopher Vogt | 2017-03-03 | 1 | -0/+2 |
| | |||||
* | add capture_args macro for type-safe embedding of stringly typed apis | Christopher Vogt | 2017-03-01 | 1 | -0/+1 |
| | |||||
* | introduce libraries helper object | Christopher Vogt | 2017-03-01 | 1 | -0/+4 |
| | |||||
* | jar / doc refactor | Christopher Vogt | 2017-02-28 | 1 | -0/+8 |
| | | | | | | - split out manifest and scaladoc logic - refactor lib calls from inheritance layer - only strip project directory prefix from individually specified files | ||||
* | human readable toString for Builds | Christopher Vogt | 2017-02-27 | 1 | -0/+1 |
| | |||||
* | move default sourceFileFilter into lib for less OO coupling | Christopher Vogt | 2017-02-27 | 1 | -1/+1 |
| | |||||
* | use `name` instead of `projectName` as it is more universal and the | Christopher Vogt | 2017-02-27 | 1 | -1/+1 |
| | | | | term `project` is probably going away in cbt. | ||||
* | turn `test` into a subproject for easy access to test’s tasks | Christopher Vogt | 2017-02-27 | 1 | -10/+16 |
| | |||||
* | `cbt help` like `git help` instead of `cbt usage` | Christopher Vogt | 2017-02-27 | 1 | -1/+1 |
| | |||||
* | Merge pull request #356 from cvogt/discover-subbuilds | Jan Christopher Vogt | 2017-02-22 | 1 | -2/+3 |
|\ | | | | | treat subdirectores as subbuilds via cmd line | ||||
| * | treat subdirectores as subbuilds via cmd line | Christopher Vogt | 2017-02-22 | 1 | -2/+3 |
| | | |||||
* | | support cleaning more than just target | Christopher Vogt | 2017-02-22 | 1 | -1/+3 |
|/ | |||||
* | support DirectoryDependency on sub builds of a multi project builds | Christopher Vogt | 2017-02-18 | 1 | -3/+4 |
| | |||||
* | allow DirectoryDependencies on BuildBuilds | Christopher Vogt | 2017-02-18 | 1 | -0/+5 |
| | | | | | | | | | this fixes a bug where finalBuild would over eagerly go down all the way down to the outermost build instead of stopping at the one requested. Now it checks the new argument and stops there. This is necessary to allow having one build depend on another build in order to embed it in a type-safe way and have access to it’s tasks. | ||||
* | simplify and add features to reflective task lookup code | Christopher Vogt | 2017-02-18 | 1 | -5/+6 |
| | | | | | | | | | | | | | Code is much simpler now. Now cbt sub-tasks are separated by . instead of spaces to unify the syntax with method calls Scala. Also the reflective code now works not only on builds but any kind of values, so zero argument members of any types of return values can simply be called. This is also a large step towards detangling the reflective lookup from cbt and turning it into a fully fletched shell to Scala "native" call solution. | ||||
* | add typed constants for build directory and file and use them everywhere | Christopher Vogt | 2017-02-15 | 1 | -2/+2 |
| | |||||
* | a (probably insufficient) attempt at detecting task cache conflicts | Christopher Vogt | 2017-02-14 | 1 | -0/+18 |
| | |||||
* | minor whitespace and name changes | Christopher Vogt | 2017-02-14 | 1 | -3/+4 |
| | |||||
* | allow overwriting test with nested build | Christopher Vogt | 2017-02-14 | 1 | -1/+1 |
| | |||||
* | support flatClassLoader and run at Dependency level | Christopher Vogt | 2017-02-14 | 1 | -28/+2 |
| | |||||
* | implicitly pass classloader, might make code easier | Christopher Vogt | 2017-02-14 | 1 | -6/+5 |
| | | | | | and prepares for allowing `run` and `runFlat` at Dependency instead of Build level | ||||
* | use target directory rather than projectDirectory as caching key | Christopher Vogt | 2017-02-13 | 1 | -1/+1 |
| | | | | | | makes more sense as multiple projects with the same projectDirectory but different sources and targets can make sense e.g. for sbt directory structure, etc | ||||
* | easier setting of projectDirectory in sub-builds | Christopher Vogt | 2017-02-13 | 1 | -2/+2 |
| | | | | | by replacing context.projectDirectory by workingDirectory and using it as the default but allowing it to being overridden | ||||
* | Add support for nested builds and use it to replace cross compilation | Christopher Vogt | 2017-02-13 | 1 | -2/+3 |
| | | | | | | | | command which was previously hard-coded This will allow multi-project builds, too but we should first fix caching across instances and GitDependencies on sub-builds within other repositories. |