aboutsummaryrefslogtreecommitdiff
path: root/stage2
Commit message (Collapse)AuthorAgeFilesLines
* improve whitespace readability in proguard pluginChristopher Vogt2017-03-052-8/+12
|
* separate type-safe proguard wrapper into self-contained libraryChristopher Vogt2017-03-042-3/+50
| | | | also make logic to maintain auto-generated sections re-usable
* handle trying to package / publish with no source files via exceptionChristopher Vogt2017-03-044-18/+16
| | | | this saves us from having to do conditionals in several places
* improve sonatype pluginChristopher Vogt2017-03-041-7/+8
| | | | | | - reduce required tasks in favor of using SonatypeLib.copy - improve log messages - automatically release non-snapshots after uploading
* make plugin aliases available in Plugin buildsChristopher Vogt2017-03-042-15/+24
|
* do not print () when evalingChristopher Vogt2017-03-041-1/+1
|
* search-class task for searching class on mavenChristopher Vogt2017-03-041-1/+4
|
* fix callReflective not finding special char tasks namesChristopher Vogt2017-03-041-6/+8
| | | | and better error message when top-level method not being found
* more appropriate name for PublishMaven pluginChristopher Vogt2017-03-031-1/+2
|
* define central publish tasks, so multiple trait can add to itChristopher Vogt2017-03-031-0/+2
|
* fix trying to access non-existent methods of Unit not erroringChristopher Vogt2017-03-031-11/+10
|
* add comprehensive, type-safe proguard pluginChristopher Vogt2017-03-011-0/+1
| | | | | this also demonstrates how to programmatically generate an extensive, type-safe api for a stringly-typed interface
* add capture_args macro for type-safe embedding of stringly typed apisChristopher Vogt2017-03-011-0/+1
|
* introduce libraries helper objectChristopher Vogt2017-03-011-0/+4
|
* jar / doc refactorChristopher Vogt2017-02-284-75/+70
| | | | | | - 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 BuildsChristopher Vogt2017-02-271-0/+1
|
* move default sourceFileFilter into lib for less OO couplingChristopher Vogt2017-02-272-2/+5
|
* use `name` instead of `projectName` as it is more universal and theChristopher Vogt2017-02-271-1/+1
| | | | term `project` is probably going away in cbt.
* fix results of Seq of builds not being printedChristopher Vogt2017-02-271-10/+10
|
* comments to move a bunch of things into stage2Christopher Vogt2017-02-271-0/+1
|
* turn `test` into a subproject for easy access to test’s tasksChristopher Vogt2017-02-271-10/+16
|
* `cbt help` like `git help` instead of `cbt usage`Christopher Vogt2017-02-271-1/+1
|
* show methods for Build even if no build file exists to help usersChristopher Vogt2017-02-271-11/+8
| | | | realize when they are in the wrong directory
* use .apply feature instead of special coding for tools usage stringChristopher Vogt2017-02-272-1/+2
|
* task returning empty seq threw exceptionChristopher Vogt2017-02-271-1/+1
|
* call no args .apply methods of referenced objectsChristopher Vogt2017-02-271-1/+9
| | | | this effectively lets users execute no arg functions from the cmd line via cbt
* print exit code when running cbtChristopher Vogt2017-02-271-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 brevityChristopher Vogt2017-02-261-2/+2
|
* Merge pull request #138 from cvogt/chrisJan Christopher Vogt2017-02-224-8/+7
|\ | | | | various changes
| * a few hopefully simplifying rewirings in the implicitsChristopher Vogt2017-02-222-6/+4
| |
| * include sonatypeSnapshots in `cbt tools resolve`Christopher Vogt2017-02-221-1/+1
| |
| * minor: wrap dependencies in scaffold in () for hoped ease of useChristopher Vogt2017-02-221-1/+2
| |
* | Merge pull request #356 from cvogt/discover-subbuildsJan Christopher Vogt2017-02-224-11/+25
|\ \ | | | | | | treat subdirectores as subbuilds via cmd line
| * | treat subdirectores as subbuilds via cmd lineChristopher Vogt2017-02-224-11/+25
| |/
* | support cleaning more than just targetChristopher Vogt2017-02-222-6/+8
| |
* | allow plugins to access essential pluginsChristopher Vogt2017-02-221-1/+2
|/
* fix srcJar path. Was wronly absolute fs path. Now relative.Christopher Vogt2017-02-192-8/+16
|
* top-level instead of anonymous classesChristopher Vogt2017-02-192-2/+4
| | | | | to allow these to work with the dynamic configuration features .copy and DynamicOverride
* the word class was duplicated since .show changedChristopher Vogt2017-02-191-1/+1
|
* allow git dependencies on sub buildsChristopher Vogt2017-02-191-3/+11
|
* support DirectoryDependency on sub builds of a multi project buildsChristopher Vogt2017-02-182-8/+30
|
* allow DirectoryDependencies on BuildBuildsChristopher Vogt2017-02-183-4/+16
| | | | | | | | | 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 codeChristopher Vogt2017-02-184-71/+53
| | | | | | | | | | | | | 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 nameChristopher Vogt2017-02-151-1/+1
|
* add package to generated Build in build.scala and in-package discoveryChristopher Vogt2017-02-152-9/+24
| | | | | | | | | | | 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.
* add package to generated Main.scala to avoid classpath weirdnessesChristopher Vogt2017-02-153-13/+82
| | | | | 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 everywhereChristopher Vogt2017-02-153-11/+13
|
* a (probably insufficient) attempt at detecting task cache conflictsChristopher Vogt2017-02-141-0/+18
|
* minor whitespace and name changesChristopher Vogt2017-02-141-3/+4
|
* allow overwriting test with nested buildChristopher Vogt2017-02-141-1/+1
|