summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add task to only check formatting of Scala filesscalafmt-checkJakob Odersky2019-11-203-31/+93
|
* Make FileLogger use Files.newOutputStream from nio (#731)TzeKei Lee2019-11-181-1/+3
|
* Add `scalaPBProtocPath` option to scalapblib (#714)Florian Duraffourg2019-11-184-7/+26
|
* Update 2 - Configuring Mill.mdLi Haoyi2019-11-171-1/+1
|
* update docs to add a example with test suiteLi Haoyi2019-11-177-6/+38
|
* Create FUNDING.ymlLi Haoyi2019-11-161-0/+3
|
* example syntax fixes (#732)Lars J. Aas2019-11-151-2/+2
|
* Quote variable use in shell scriptTobias Roeser2019-11-061-1/+1
|
* Use MILL_VERSION in docker contrib documentation (#730)Nathaniel Fischer2019-11-051-1/+1
|
* Create separate content entries for generated sources (#729)Tobias Roeser2019-11-055-10/+22
| | | | | | | | | | * Create separate content entries for generated sources Fixes https://github.com/lihaoyi/mill/issues/728 * Fixed handling of duplictate entries * Updated tests for GenIdea
* Added return valueTobias Roeser2019-11-051-1/+1
|
* Improve error message in SonatypeHttpApi.scalaLi Haoyi2019-11-051-1/+1
|
* Remove contrib modules from main distribution (#724)Li Haoyi2019-10-281-1/+1
| | | | | They're bloating things up to an unacceptable degree, with the main jar size up to 50mb from 37mb not too long ago. The whole point of contrib modules is that they're not part of the main distribution, but can be `import $ivy`ed in, so let's make them follow that convention
* GenIdea: Improves sources handling, better guessing and triggering to ↵Tobias Roeser2019-10-241-4/+28
| | | | | download (#719) See also https://github.com/lihaoyi/mill/issues/708
* Clean old IDEA files after we scuccessfully analyzed the modulesTobias Roeser2019-10-231-2/+4
| | | | That way, we can keep an existing IDEA project in case of a failure.
* GenIdea: be a bit more verboseTobias Roeser2019-10-181-1/+4
|
* Prepared changelogTobias Roeser2019-10-181-0/+7
|
* Grammar update in docs (#717)Eric Winer2019-10-181-1/+1
|
* Prepared release 0.5.2Tobias Roeser2019-10-172-8/+17
|
* Merge pull request https://github.com/lihaoyi/mill/pull/664Tobias Roeser2019-10-1620-60/+1775
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added the contrib.bsp module which contains an implementation of the BuildServer from BSP, thus alowing mill to be used by IDEs which use BSP. The MillBuildServer supports the following BSP features: * retrieving the build targets * compile requests * run requests * test requests * compile published diagnostics * task start/finish notifications for compile and test requests * progress notifications for compile * retrieving the scala main classes, test classes and scalac options Currently these features allow importing and compiling a mill project in IntelliJ IDEA via BSP. Known issues, some of which are being investigated: * can not run main classes from the IntelliJ interface * rarely, a strange NoClassDefFoundException is being thrown upon compiling from intellij * still tweaking the command for starting the server in order to work on all operating systems ( should be fine for linux and macOs so far ) Would be great to get feedback about this integration.
| * Fix review issuesSamvel Abrahamyan2019-10-154-5/+9
| |
| * Merge pull request #4 from sequencer/bsp_patchSamvel Abrahamyan2019-10-141-4/+5
| |\ | | | | | | bug fix for system vended mill, no `MILL_CLASSPATH` avalible.
| | * get mill classpath and version from system env or java properties.Jiuyang liu2019-10-141-3/+4
| | |
| | * bug fix for system vended mill, no `MILL_CLASSPATH` avalible.Jiuyang liu2019-10-131-2/+2
| |/
| * Use named versions in bsp module defSamvel Abrahamyan2019-10-121-1/+13
| |
| * Fix formatting issuesSamvel Abrahamyan2019-10-123-12/+17
| |
| * Remove some unnecessary dependencies from contrib.bsp, use upickle instead ↵Samvel Abrahamyan2019-10-122-35/+23
| | | | | | | | of play-json
| * Add short comments about build reporters.Samvel Abrahamyan2019-10-121-10/+20
| |
| * Reformat codeSamvel Abrahamyan2019-10-128-444/+493
| |
| * Remove the dependency to bsp and zinc from core modulesSamvel Abrahamyan2019-10-1215-162/+197
| |
| * Updated documentation of contrib module since now it is possible to run ↵Alexandra Dima2019-10-122-4/+0
| | | | | | | | scala classes directly from IntelliJ and removed file added to git by mistake.
| * Update contrib/bsp/src/mill/contrib/bsp/ModuleUtils.scala Alexandra Dima2019-10-121-1/+1
| | | | | | | | | | Fix typo Co-Authored-By: Tobias Roeser <le.petit.fou@web.de>
| * Fix failed test not being reported with appropriate status, add full ↵Samvel Abrahamyan2019-10-121-12/+17
| | | | | | | | stacktrace as message
| * Fix typo in data kind field, use constants from bsp4jSamvel Abrahamyan2019-10-123-9/+9
| |
| * CHanged the clean cache command to use the mill api againAlexandra Dima2019-10-121-18/+28
| |
| * Fixed bugs: If a module has no resource directory don't just throw error, ↵Alexandra Dima2019-10-123-4/+8
| | | | | | | | just return empty list of resources. Include the name of the compile task in the segments that get converted tothe scalac options class directory.
| * Fixed the classpath for the scalac option request, so now main classes can ↵Alexandra Dima2019-10-122-2/+1
| | | | | | | | be ran from intellij.
| * Fixed the compile request, if the root target is in the compile params, then ↵Alexandra Dima2019-10-121-55/+61
| | | | | | | | don't include it in the compile task. Fixed some style issues suggested by intellij. Now, targets are recomputed at the beginning of each server request.
| * Made corrections to the bsp module readme.Alexandra Dima2019-10-121-18/+21
| |
| * Fixed bugs in passing the bsp specified run and test parameters to mill.Alexandra Dima2019-10-122-30/+55
| |
| * Changed the clean cache method back to a subprocess because this way it can ↵Alexandra Dima2019-10-125-33/+54
| | | | | | | | 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-1210-88/+266
| | | | | | | | 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-124-26/+36
| | | | | | | | 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-129-156/+8
| | | | | | | | was in the original mill repo.
| * Addressed code review feedback.Alexandra Dima2019-10-1215-227/+178
| |
| * 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-125-72/+95
| | | | | | | | 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.