aboutsummaryrefslogtreecommitdiff
path: root/stage1
Commit message (Collapse)AuthorAgeFilesLines
* start modularizing cbt into librariesChristopher Vogt2017-03-273-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 Vogt2017-03-201-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 existChristopher Vogt2017-03-192-2/+3
|
* Get rid of the hacky "essential" plugins separationChristopher Vogt2017-03-191-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 oneChristopher Vogt2017-03-191-1/+2
|
* Merge pull request #441 from cvogt/various-changesJan Christopher Vogt2017-03-173-2/+27
|\ | | | | Various changes
| * better show for PostBuildDependencyChristopher Vogt2017-03-171-0/+1
| |
| * add helper for caching based on a status fileChristopher Vogt2017-03-171-0/+15
| |
| * add boolean to option helperChristopher Vogt2017-03-171-0/+3
| |
| * fix bug in identifying main classesChristopher Vogt2017-03-171-2/+3
| |
| * Add string quoting helpersChristopher Vogt2017-03-171-0/+5
| |
* | Replace dependencies feature for conflict resolutionChristopher Vogt2017-03-172-34/+38
|/
* recursive pom variable substitutionPiotr Trzpil2017-03-151-18/+24
|
* fix file watching for realChristopher Vogt2017-03-125-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/chrisJan Christopher Vogt2017-03-121-4/+3
|\ | | | | various changes
| * fix bugs with argument passing to testsChristopher Vogt2017-03-121-3/+2
| |
| * drop "direct" arg already in shell scriptChristopher Vogt2017-03-121-1/+1
| |
* | Merge pull request #425 from cvogt/writeIfChangedJan Christopher Vogt2017-03-121-0/+2
|\ \ | | | | | | writeIfChanged helper method
| * | writeIfChanged helper methodChristopher Vogt2017-03-121-0/+2
| |/
* / fix change propagationChristopher Vogt2017-03-121-1/+5
|/
* revamp loop featureChristopher Vogt2017-03-124-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 placesChristopher Vogt2017-03-092-5/+4
|
* comment about cleanup TODOChristopher Vogt2017-03-071-1/+1
|
* make sure binary dependencies existChristopher Vogt2017-03-072-1/+4
|
* support publishing to basic-auth protected maven repositoriesChristopher Vogt2017-03-062-4/+12
|
* support resolving unsigned dependenciesChristopher Vogt2017-03-062-8/+8
|
* separate type-safe proguard wrapper into self-contained libraryChristopher Vogt2017-03-041-0/+3
| | | | also make logic to maintain auto-generated sections re-usable
* add comprehensive, type-safe proguard pluginChristopher Vogt2017-03-011-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 nioChristopher Vogt2017-03-011-0/+10
|
* simplify uberJar plugin and activate recursiveDelete lib functionChristopher Vogt2017-02-281-3/+2
|
* equality for BoundMavenDependencyChristopher Vogt2017-02-271-0/+5
|
* remove dead codeChristopher Vogt2017-02-271-7/+0
|
* minor logging improvementsChristopher Vogt2017-02-273-3/+8
|
* minor style enhancementChristopher Vogt2017-02-271-1/+1
|
* important fixme message for usability issueChristopher Vogt2017-02-271-0/+4
|
* minor syntax fixChristopher Vogt2017-02-271-1/+1
|
* sh-like exit code combination operatorsChristopher Vogt2017-02-271-1/+4
|
* disabled prototype code for deleteRecursiveChristopher Vogt2017-02-271-1/+17
|
* make listRecursive a File extension method for brevityChristopher Vogt2017-02-262-7/+8
|
* canLoad method (not used right now, but may come in handy)Christopher Vogt2017-02-221-0/+10
|
* colors for resolving loggingChristopher Vogt2017-02-221-1/+1
|
* logging loaded classes (some of it at least)Christopher Vogt2017-02-221-0/+4
|
* a few hopefully simplifying rewirings in the implicitsChristopher Vogt2017-02-222-11/+8
|
* simplify and add features to reflective task lookup codeChristopher Vogt2017-02-181-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 Vogt2017-02-151-1/+1
|
* add package to generated Build in build.scala and in-package discoveryChristopher Vogt2017-02-151-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 buildsChristopher Vogt2017-02-141-7/+3
| | | | should be safe now that we rebuild based on lastModified
* more debugging info for a bug observed with compiling dottyChristopher Vogt2017-02-141-1/+5
|
* ignore classes in randomly nested subdirectoriesChristopher Vogt2017-02-141-8/+13
| | | | useful for `dotty run <file>`
* support flatClassLoader and run at Dependency levelChristopher Vogt2017-02-141-0/+13
|