Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | start modularizing cbt into libraries | Christopher Vogt | 2017-03-27 | 3 | -163/+53 |
| | | | | | | | | | | 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 | -0/+6 |
| | | | | | | | | | | 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 | 2 | -2/+3 |
| | |||||
* | Get rid of the hacky "essential" plugins separation | Christopher Vogt | 2017-03-19 | 1 | -2/+4 |
| | | | | | | | 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. | ||||
* | get rid of NameTransformer in favor of using Scala’s one | Christopher Vogt | 2017-03-19 | 1 | -1/+2 |
| | |||||
* | Merge pull request #441 from cvogt/various-changes | Jan Christopher Vogt | 2017-03-17 | 3 | -2/+27 |
|\ | | | | | Various changes | ||||
| * | better show for PostBuildDependency | Christopher Vogt | 2017-03-17 | 1 | -0/+1 |
| | | |||||
| * | add helper for caching based on a status file | Christopher Vogt | 2017-03-17 | 1 | -0/+15 |
| | | |||||
| * | add boolean to option helper | Christopher Vogt | 2017-03-17 | 1 | -0/+3 |
| | | |||||
| * | fix bug in identifying main classes | Christopher Vogt | 2017-03-17 | 1 | -2/+3 |
| | | |||||
| * | Add string quoting helpers | Christopher Vogt | 2017-03-17 | 1 | -0/+5 |
| | | |||||
* | | Replace dependencies feature for conflict resolution | Christopher Vogt | 2017-03-17 | 2 | -34/+38 |
|/ | |||||
* | recursive pom variable substitution | Piotr Trzpil | 2017-03-15 | 1 | -18/+24 |
| | |||||
* | fix file watching for real | Christopher Vogt | 2017-03-12 | 5 | -23/+27 |
| | | | | | | | 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 #423 from cvogt/chris | Jan Christopher Vogt | 2017-03-12 | 1 | -4/+3 |
|\ | | | | | various changes | ||||
| * | fix bugs with argument passing to tests | Christopher Vogt | 2017-03-12 | 1 | -3/+2 |
| | | |||||
| * | drop "direct" arg already in shell script | Christopher Vogt | 2017-03-12 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #425 from cvogt/writeIfChanged | Jan Christopher Vogt | 2017-03-12 | 1 | -0/+2 |
|\ \ | | | | | | | writeIfChanged helper method | ||||
| * | | writeIfChanged helper method | Christopher Vogt | 2017-03-12 | 1 | -0/+2 |
| |/ | |||||
* / | fix change propagation | Christopher Vogt | 2017-03-12 | 1 | -1/+5 |
|/ | |||||
* | revamp loop feature | Christopher Vogt | 2017-03-12 | 4 | -15/+27 |
| | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | more concise runMain in more places | Christopher Vogt | 2017-03-09 | 2 | -5/+4 |
| | |||||
* | comment about cleanup TODO | Christopher Vogt | 2017-03-07 | 1 | -1/+1 |
| | |||||
* | make sure binary dependencies exist | Christopher Vogt | 2017-03-07 | 2 | -1/+4 |
| | |||||
* | support publishing to basic-auth protected maven repositories | Christopher Vogt | 2017-03-06 | 2 | -4/+12 |
| | |||||
* | support resolving unsigned dependencies | Christopher Vogt | 2017-03-06 | 2 | -8/+8 |
| | |||||
* | separate type-safe proguard wrapper into self-contained library | Christopher Vogt | 2017-03-04 | 1 | -0/+3 |
| | | | | also make logic to maintain auto-generated sections re-usable | ||||
* | add comprehensive, type-safe proguard plugin | Christopher Vogt | 2017-03-01 | 1 | -2/+2 |
| | | | | | this also demonstrates how to programmatically generate an extensive, type-safe api for a stringly-typed interface | ||||
* | add / helper also for Path anticipating migration to nio | Christopher Vogt | 2017-03-01 | 1 | -0/+10 |
| | |||||
* | simplify uberJar plugin and activate recursiveDelete lib function | Christopher Vogt | 2017-02-28 | 1 | -3/+2 |
| | |||||
* | equality for BoundMavenDependency | Christopher Vogt | 2017-02-27 | 1 | -0/+5 |
| | |||||
* | remove dead code | Christopher Vogt | 2017-02-27 | 1 | -7/+0 |
| | |||||
* | minor logging improvements | Christopher Vogt | 2017-02-27 | 3 | -3/+8 |
| | |||||
* | minor style enhancement | Christopher Vogt | 2017-02-27 | 1 | -1/+1 |
| | |||||
* | important fixme message for usability issue | Christopher Vogt | 2017-02-27 | 1 | -0/+4 |
| | |||||
* | minor syntax fix | Christopher Vogt | 2017-02-27 | 1 | -1/+1 |
| | |||||
* | sh-like exit code combination operators | Christopher Vogt | 2017-02-27 | 1 | -1/+4 |
| | |||||
* | disabled prototype code for deleteRecursive | Christopher Vogt | 2017-02-27 | 1 | -1/+17 |
| | |||||
* | make listRecursive a File extension method for brevity | Christopher Vogt | 2017-02-26 | 2 | -7/+8 |
| | |||||
* | canLoad method (not used right now, but may come in handy) | Christopher Vogt | 2017-02-22 | 1 | -0/+10 |
| | |||||
* | colors for resolving logging | Christopher Vogt | 2017-02-22 | 1 | -1/+1 |
| | |||||
* | logging loaded classes (some of it at least) | Christopher Vogt | 2017-02-22 | 1 | -0/+4 |
| | |||||
* | a few hopefully simplifying rewirings in the implicits | Christopher Vogt | 2017-02-22 | 2 | -11/+8 |
| | |||||
* | simplify and add features to reflective task lookup code | Christopher Vogt | 2017-02-18 | 1 | -2/+1 |
| | | | | | | | | | | | | | 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. | ||||
* | fix / to not turn paths absolute. Checked this doesn’t affect anything! | Christopher Vogt | 2017-02-15 | 1 | -1/+1 |
| | |||||
* | add package to generated Build in build.scala and in-package discovery | Christopher Vogt | 2017-02-15 | 1 | -23/+31 |
| | | | | | | | | | | | This should allow for build to add other builds to their dependencies and interact with them in a type-safe way. And ever regardless it seems like good practice to never have the same class existing in the same package or the top-level package even if they don’t end up on the same classpath. This might also help make stack traces easier to understand. Also improve error messages for mistakes with the build class, e.g. constructor, super classes, etc. | ||||
* | now really cache classloaders for builds | Christopher Vogt | 2017-02-14 | 1 | -7/+3 |
| | | | | should be safe now that we rebuild based on lastModified | ||||
* | more debugging info for a bug observed with compiling dotty | Christopher Vogt | 2017-02-14 | 1 | -1/+5 |
| | |||||
* | ignore classes in randomly nested subdirectories | Christopher Vogt | 2017-02-14 | 1 | -8/+13 |
| | | | | useful for `dotty run <file>` | ||||
* | support flatClassLoader and run at Dependency level | Christopher Vogt | 2017-02-14 | 1 | -0/+13 |
| |