Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | make sure jar, tests and main classes use the right directories | Christopher Vogt | 2017-02-13 | 1 | -4/+5 |
| | |||||
* | support for flat classloader and enhanced resources example | Christopher Vogt | 2017-02-13 | 1 | -3/+22 |
| | |||||
* | Merge pull request #314 from cvogt/fix-update-bugs | Jan Christopher Vogt | 2017-02-10 | 1 | -39/+16 |
|\ | | | | | better caching and change propagation fixing link-time errors | ||||
| * | idempotent change propagation | Christopher Vogt | 2017-02-09 | 1 | -12/+9 |
| | | | | | | | | | | | | using lastModified instead of a non-idempotent needsUpdate flag this fixes a bug where dependees would not be rebuilt if cbt exited or was killed after dependencies were already rebuilt. | ||||
| * | memoize task results across classes within a single run | Christopher Vogt | 2017-02-09 | 1 | -24/+5 |
| | | |||||
| * | make full dependencies available to compile instead of only classpath | Christopher Vogt | 2017-02-01 | 1 | -6/+5 |
| | | | | | | | | | | this will make it possible to access lastModified times and cache them in the following commits | ||||
| * | Merge separate hashmaps for persistent cache into one | Christopher Vogt | 2017-02-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | This isn’t type-safe, but re-using that same hashmap for both keys and classloaders allows to reduce the number of members in Context. Also we can re-use the same hashMap for other things as well in the coming commits, e.g. timestamps. | ||||
* | | Moved source file filter to build. | mchav | 2016-12-23 | 1 | -2/+5 |
|/ | |||||
* | minor cleanups regarding Context | Christopher Vogt | 2016-11-13 | 1 | -2/+5 |
| | |||||
* | Merge pull request #311 from cvogt/remove-dot-copy | Jan Christopher Vogt | 2016-11-13 | 1 | -2/+10 |
|\ | | | | | reduce usage of .copy as preparation to replace it with newBuild |