Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix wrong workingDir when referencing builds by directory | Christopher Vogt | 2017-04-02 | 1 | -7/+2 |
| | |||||
* | support `clean` task without direct mode | Christopher Vogt | 2017-04-01 | 1 | -2/+1 |
| | |||||
* | start modularizing cbt into libraries | Christopher Vogt | 2017-03-27 | 1 | -56/+2 |
| | | | | | | | | | | 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. | ||||
* | ScalaPB plugin | Christopher Vogt | 2017-03-24 | 1 | -0/+1 |
| | |||||
* | Unify reflectively loading builds from directories. | Christopher Vogt | 2017-03-20 | 1 | -82/+63 |
| | | | | | | | | | | 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 | -1/+1 |
| | |||||
* | Get rid of the hacky "essential" plugins separation | Christopher Vogt | 2017-03-19 | 1 | -10/+1 |
| | | | | | | | 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 | -0/+1 |
| | |||||
* | change and expose mechanism mapping from absolute to relative paths | Christopher Vogt | 2017-03-17 | 1 | -22/+32 |
| | | | | to transfer files from different locations coherently into one location | ||||
* | Fix not being able to call methods not declared in your build class | Christopher Vogt | 2017-03-15 | 1 | -1/+1 |
| | |||||
* | fix file watching for real | Christopher Vogt | 2017-03-12 | 1 | -48/+1 |
| | | | | | | | 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 | ||||
* | revamp loop feature | Christopher Vogt | 2017-03-12 | 1 | -41/+44 |
| | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -4/+2 |
| | |||||
* | atomic move and error handling for transform helper | Christopher Vogt | 2017-03-08 | 1 | -7/+20 |
| | |||||
* | support publishing to basic-auth protected maven repositories | Christopher Vogt | 2017-03-06 | 1 | -7/+3 |
| | |||||
* | return Seq[URL] from publish task and \n separate Seqs in std out | Christopher Vogt | 2017-03-06 | 1 | -11/+12 |
| | |||||
* | improve whitespace readability in proguard plugin | Christopher Vogt | 2017-03-05 | 1 | -0/+11 |
| | |||||
* | handle trying to package / publish with no source files via exception | Christopher Vogt | 2017-03-04 | 1 | -14/+9 |
| | | | | this saves us from having to do conditionals in several places | ||||
* | fix callReflective not finding special char tasks names | Christopher Vogt | 2017-03-04 | 1 | -6/+8 |
| | | | | and better error message when top-level method not being found | ||||
* | fix trying to access non-existent methods of Unit not erroring | Christopher Vogt | 2017-03-03 | 1 | -11/+10 |
| | |||||
* | jar / doc refactor | Christopher Vogt | 2017-02-28 | 1 | -66/+53 |
| | | | | | | - split out manifest and scaladoc logic - refactor lib calls from inheritance layer - only strip project directory prefix from individually specified files | ||||
* | move default sourceFileFilter into lib for less OO coupling | Christopher Vogt | 2017-02-27 | 1 | -1/+4 |
| | |||||
* | fix results of Seq of builds not being printed | Christopher Vogt | 2017-02-27 | 1 | -10/+10 |
| | |||||
* | show methods for Build even if no build file exists to help users | Christopher Vogt | 2017-02-27 | 1 | -11/+8 |
| | | | | realize when they are in the wrong directory | ||||
* | use .apply feature instead of special coding for tools usage string | Christopher Vogt | 2017-02-27 | 1 | -1/+0 |
| | |||||
* | task returning empty seq threw exception | Christopher Vogt | 2017-02-27 | 1 | -1/+1 |
| | |||||
* | call no args .apply methods of referenced objects | Christopher Vogt | 2017-02-27 | 1 | -1/+9 |
| | | | | this effectively lets users execute no arg functions from the cmd line via cbt | ||||
* | print exit code when running cbt | Christopher Vogt | 2017-02-27 | 1 | -0/+1 |
| | | | | hopefull this makes things clearer for users and does not get in the way. We'll see. | ||||
* | make listRecursive a File extension method for brevity | Christopher Vogt | 2017-02-26 | 1 | -2/+2 |
| | |||||
* | Merge pull request #356 from cvogt/discover-subbuilds | Jan Christopher Vogt | 2017-02-22 | 1 | -6/+19 |
|\ | | | | | treat subdirectores as subbuilds via cmd line | ||||
| * | treat subdirectores as subbuilds via cmd line | Christopher Vogt | 2017-02-22 | 1 | -6/+19 |
| | | |||||
* | | support cleaning more than just target | Christopher Vogt | 2017-02-22 | 1 | -5/+5 |
|/ | |||||
* | fix srcJar path. Was wronly absolute fs path. Now relative. | Christopher Vogt | 2017-02-19 | 1 | -7/+15 |
| | |||||
* | top-level instead of anonymous classes | Christopher Vogt | 2017-02-19 | 1 | -2/+2 |
| | | | | | to allow these to work with the dynamic configuration features .copy and DynamicOverride | ||||
* | the word class was duplicated since .show changed | Christopher Vogt | 2017-02-19 | 1 | -1/+1 |
| | |||||
* | simplify and add features to reflective task lookup code | Christopher Vogt | 2017-02-18 | 1 | -56/+44 |
| | | | | | | | | | | | | | 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 changed name | Christopher Vogt | 2017-02-15 | 1 | -1/+1 |
| | |||||
* | add package to generated Main.scala to avoid classpath weirdnesses | Christopher Vogt | 2017-02-15 | 1 | -7/+13 |
| | | | | | caused by multiple root package Main classes from different subproject or test projects ending up on the same classpath | ||||
* | add typed constants for build directory and file and use them everywhere | Christopher Vogt | 2017-02-15 | 1 | -3/+5 |
| | |||||
* | implicitly pass classloader, might make code easier | Christopher Vogt | 2017-02-14 | 1 | -3/+2 |
| | | | | | and prepares for allowing `run` and `runFlat` at Dependency instead of Build level | ||||
* | easier setting of projectDirectory in sub-builds | Christopher Vogt | 2017-02-13 | 1 | -4/+4 |
| | | | | | by replacing context.projectDirectory by workingDirectory and using it as the default but allowing it to being overridden | ||||
* | multi-project build example using a single build file | Christopher Vogt | 2017-02-13 | 1 | -1/+1 |
| | |||||
* | Add support for nested builds and use it to replace cross compilation | Christopher Vogt | 2017-02-13 | 1 | -0/+14 |
| | | | | | | | | 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 | -2/+2 |
| | |||||
* | Merge pull request #314 from cvogt/fix-update-bugs | Jan Christopher Vogt | 2017-02-10 | 1 | -4/+4 |
|\ | | | | | better caching and change propagation fixing link-time errors | ||||
| * | idempotent change propagation | Christopher Vogt | 2017-02-09 | 1 | -3/+3 |
| | | | | | | | | | | | | 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 | -2/+2 |
| | | |||||
* | | Moved source file filter to build. | mchav | 2016-12-23 | 1 | -4/+1 |
|/ | |||||
* | fixes interacting with BuildBuilds from the cli and cleans up. | Christopher Vogt | 2016-11-13 | 1 | -16/+10 |
| | | | | | Before this when doing `build/$ cbt dependencies` cbt would not show up because cbt would be using a BaseBuild, not a BuildBuild. Not it does. | ||||
* | minor refactoring using shorter names | Christopher Vogt | 2016-11-13 | 1 | -5/+8 |
| |