summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Changed the clean cache method back to a subprocess because this way it can ↵Alexandra Dima2019-10-124-32/+52
| | | | wait for the output directories to actually be removed. Use IO instead of NIO for converting os.Path to URIs. Don't display the stack trace in the start method in case of CancelationException, which just means the server stopped. Also added support for tracing bsp messages inside a bsp.log file in the working directory of the project being built.
* Added docstrigs and comments. Also cleaned unused imports. Changd the ↵Alexandra Dima2019-10-127-88/+233
| | | | printStream connected to the compilation logger sent to the mill evaluator from Bsp from System.out (might interfere with the lsp communication ) to the outputstream of the evaluator's logger.
* Changed the clean cache method to usethe clean command form mill's ↵Alexandra Dima2019-10-122-24/+33
| | | | MainModule rather than start the clean command as a separate subprocess. Removed dead code comment and added show message notifications to the MillBspLogger.
* Removed unnecessary directories and reverted the scratch folder to how it ↵Alexandra Dima2019-10-122-30/+0
| | | | was in the original mill repo.
* Addressed code review feedback.Alexandra Dima2019-10-127-214/+168
|
* Updated the clean cache method of the mill build server to use system ↵Alexandra Dima2019-10-121-1/+8
| | | | properties in order to assemble the correct, OS-independent, mill clean command.
* Renamed the main class as well as the method that starts the bsp server.Alexandra Dima2019-10-121-26/+5
|
* Modified the construction of the string ids for each BuildTargetIdentifier ↵Alexandra Dima2019-10-122-7/+9
| | | | as there were collisions in case of cross modules. Also fixed bug in the clean cache method. Now, the command is using the rendering of millModuleSegments rather than the module name function.
* Made the variables that count erros and warnings in the compilation reporter ↵Alexandra Dima2019-10-121-11/+12
| | | | atomic, such that their incrementation will be thread safe.
* Modified the compilation diagnostics reporter to send not only the currently ↵Alexandra Dima2019-10-124-71/+94
| | | | generated diagnostic, but also all of the past diagnostics discovered for a certain source file. This will be compatible with the idea that each set of diagnostics for a certain file invalidates all other diagnostics received in the past.
* Added a root target for the mill base module of each project so that ↵Alexandra Dima2019-10-122-11/+59
| | | | intellij can display the project correctly.
* Modified the sources and inversed sources requests to be compatible with ↵Alexandra Dima2019-10-121-5/+10
| | | | returing directories of source files rather than individual source files.
* Fixed bug in computing the compilation output directory for the ↵Alexandra Dima2019-10-121-3/+2
| | | | buildtTargetScalacOptions method.
* Fixed bug in building the data field of a BuildTarget which represents a ↵Alexandra Dima2019-10-121-4/+10
| | | | mill JavaModule. Until bsp updates specification on what to do with java modules, each mill JavaModule will translate into a bsp ScalaBuildTarget.
* Fixed bug in computing the classDirectory for the scalac options request. ↵Alexandra Dima2019-10-121-1/+1
| | | | Also changed the startServer command from the json connection file.
* Added support for sending start/finish compilation notifications even when ↵Alexandra Dima2019-10-124-21/+42
| | | | all targets are sent to the mill evaluator together.
* Improved compilation by sending all requested targets to the mill evaluator ↵Alexandra Dima2019-10-123-80/+60
| | | | to be compiled together rather than in different evaluation sessions. This avoids duplicated compilation results and side effects like diagnostics and task progress notifications.
* Imporved the way a target's display name is computed.Alexandra Dima2019-10-121-3/+11
|
* Added progress notifications during run and test tasks too.Alexandra Dima2019-10-121-3/+6
|
* Added progress notifications during compilationAlexandra Dima2019-10-122-13/+4
|
* Adding the scratch folder to git.Alexandra Dima2019-10-121-0/+33
|
* Fixed bug in computing the testing arguments from bsp in buildTargetTest.Alexandra Dima2019-10-123-3/+11
|
* Added notification from server to client to show a message that either no ↵Alexandra Dima2019-10-121-1/+5
| | | | main class was found or there are multiple and none was specified.
* Fixed bug in computing the scala library dependencies of a ScalaBuildTarget.Alexandra Dima2019-10-121-0/+1
|
* Removed commented code and fixed bug in assigned target ids. Now the uri of ↵Alexandra Dima2019-10-122-46/+2
| | | | each BuildTarget will be the intelliJModulePath of the corresponsing mill module.
* Refactored MillBuildServer by putting the future completion at the end of ↵Alexandra Dima2019-10-123-73/+83
| | | | each method in a separate function which now also throws exceptions if a request is made before initialize. Also gave all JavaModules the run capability.
* Partially fixed test request by implementing a test reporter, adding it to ↵Alexandra Dima2019-10-124-105/+155
| | | | each task context and sending it to the test task. Implemented BspContext to hold information about the test reporter and the additional bsp compiler arguments. Made a common data structure for different bsp parameters - TaskParameters.
* Added support for merging compile parameters from the mill build file with ↵Alexandra Dima2019-10-124-34/+150
| | | | the compile parameters specified through bsp
* Fixed bugs in getting target capabilities and dependencies.Alexandra Dima2019-10-122-5/+5
|
* Added the custom bsp reporter to the evaluation of the run task in ↵Alexandra Dima2019-10-121-1/+5
| | | | buildTargetRun.
* Fixed issue with retrieving line and offset of errors found during compilation.Alexandra Dima2019-10-122-13/+9
|
* Fixed compilation error, removed print statements and unnecessary code.Alexandra Dima2019-10-122-112/+1
|
* Implemented support for publishing compilation diagnostics through the ↵Alexandra Dima2019-10-124-13/+254
| | | | custom BspLoggedReporter reporter. Patched the mill.api.Ctx data structure as well as the evaluate() method on mill's Evaluator in order to accept a potential reporter from the outside, or use a default value if none is given.
* Implemented simple support for cleaning cacheAlexandra Dima2019-10-122-15/+30
|
* Fixed bugs in ModuleUtils by converting every java path with toUri and using ↵Alexandra Dima2019-10-123-90/+158
| | | | millSourcesPath. Chnaged mill task evaluation to account for cases when the result of an informative task is actually Failure.
* Made install from MainMillBuildServer a mill command. Started simple ↵Alexandra Dima2019-10-123-53/+145
| | | | implementation of buildTargetTest. Made sure targets are retrieved again everytime the workspaceBuildTargets request is sent
* Changed the mill bsp server installation command to put the .bsp folder in ↵Alexandra Dima2019-10-121-1/+1
| | | | the working directory
* Implemented MillBuildServer methods for retrieving the scala main classes ↵Alexandra Dima2019-10-123-47/+159
| | | | and scala tets classes in a project. Also fixed bug in computing the target capabilities from modules. Started a simple implementation of buildTargetRun.
* Started integrating mill with Build Server ProtocolAlexandra Dima2019-10-124-0/+649
|
* Removes semanticdb settings (#705)Olivier Mélois2019-10-032-39/+2
| | | | | | | Bloop 1.3.3 can assume the responsibility of finding the semanticdb plugin and setting the relevant options in the compiler, which means we don't have to do it ourselves anymore to accommodate metals users. See https://github.com/scalameta/metals/pull/852
* Upgrade semantic db and supported versions of scala (#699)Jakob Odersky2019-09-251-2/+4
| | | This enables using Mill with Metals and Scala 2.13.1, which in turn is required under Java 1.13
* Upgrade scoverage: 1.3.1 -> 1.4.0 (#687)Fabian Heredia Montiel2019-09-043-12/+49
|
* Bump flyway version (#686)Nathaniel Fischer2019-09-042-2/+59
|
* Update semanticDBVersion and semanticDBSupported (#678)Gabriele Petronella2019-08-261-1/+2
|
* Scoverage buildinfo support (#647)Nik Vanderhoof2019-07-043-3/+12
| | | | | | * Add test case for scoverage/buildinfo * Take generatedSources from outer + pass allSources to scoverage reports
* Fix scoverage: inherit repositories from outer project (#645)Marcin Kurczych2019-07-021-0/+1
|
* Upgrade SemanticDB and Bloop supported versions (#639)Sergey Shishkin2019-06-251-8/+3
|
* Allow configuration of JSEnv used for Scala.js tests and runs (#628)Li Haoyi2019-06-131-2/+5
| | | | | | | | * . * . * .
* Explicitly use value for comparisonTobias Roeser2019-06-131-1/+1
|
* Inherit moduleDeps from outer in Scoverage (#623)Nik Vanderhoof2019-06-024-0/+10
| | | | | | | | * Add test case that breaks via #622 Thanks to @kag0 for finding this! :) * Scoverage should inherit moduleDeps