summaryrefslogtreecommitdiff
path: root/main
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '561'0.3.9Li Haoyi2019-05-201-0/+8
|\
| * additional target which allows user to shut down background serverŁukasz Biały2019-02-251-0/+8
| |
* | Merge branch '609'Li Haoyi2019-05-201-3/+1
|\ \
| * | Downstream files overwrite upstream files on assemblyNathan Fischer2019-05-161-3/+1
| | | | | | | | | resolves #608
* | | Bump ammonite to 1.6.7 (#610)Li Haoyi2019-05-196-24/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bump ammonite to 1.6.7 * upgrade all the things * add scalaj-http shims for bootstrapping * wip * tweak-error-message * tweak coursier * .
* | | Added exit code to exception messageTobias Roeser2019-05-161-1/+1
|/ /
* | Parameter formattingTobias Roeser2019-05-031-3/+11
| |
* | Don't initialize with all system propertiesTobias Roeser2019-05-031-5/+7
| |
* | Accept sysprops via cmdline and forward to mill serverTobias Roeser2019-05-037-78/+128
| | | | | | | | | | See https://github.com/lihaoyi/mill/issues/498 See https://github.com/lihaoyi/mill/issues/499
* | Beginning of Bloop integration (#595)Olivier Mélois2019-04-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Sync with latest versions, started bloop connection * BloopModule back to the bare minimum * Added first Bloop related unit-tests * More tests * Fixed global module usage. * Added resolution in bloop config * More tests, using correct repository list * revert dev change * Changed moduleSourceMap implementation * Using path-dependant trait for the module This facilitates testing by preventing the trait from referencing a global module. * Added semanticDB to bloopConfig * Added documentation * Install returns pathRefs instead of paths * bumped semanticDB * Better use of mill's cache, avoid duplication of work * addressing comments
* | Added changes to the MillClientMain to make it only use workers runningMark Hammons2019-03-131-3/+28
| | | | | | | | the JVM the client was launched with.
* | Reviewed exitCode handlingTobias Roeser2019-02-252-8/+19
|/ | | | Propagate server stop because of version change as exit code.
* Added fixmeTobias Roeser2019-02-241-0/+1
|
* Fixed incorrect commentTobias Roeser2019-02-231-1/+4
|
* Splitted IO.scala to avoid cyclic referencesTobias Roeser2019-02-193-33/+40
|
* Documented some mill.api classesTobias Roeser2019-02-194-100/+146
|
* Properly strip scaladoc end tagsTobias Roeser2019-02-111-0/+2
| | | | Fixes https://github.com/lihaoyi/mill/issues/451
* Fixed #511.Robby2019-01-151-5/+1
|
* Also added failFast test casesTobias Roeser2018-12-212-2/+71
|
* Added cmdline option -k/--keep-goingTobias Roeser2018-12-216-13/+31
| | | | See https://github.com/lihaoyi/mill/issues/477
* Introduced new failFast parameter to Evaluator with default `true`Tobias Roeser2018-12-212-10/+33
| | | | Added Aborted result type.
* Detailed the difference between Failure and ExceptionTobias Roeser2018-12-201-1/+9
|
* Added some docs to result typeTobias Roeser2018-12-201-9/+35
|
* Fixed typo and added class linkTobias Roeser2018-12-201-2/+2
|
* Avoid unnecessary dependency downloading by providing fetches per cache ↵gehnaphore2018-12-203-8/+101
| | | | | | | | | | | | policy (#494) * Avoid unnecessary dependency downloading by providing fetches per cache policy; add ticker logging when they are downloading * Fix GenIdeaTests by making the Log context Option[]al * Add some comments * Rebase and resolve
* Generalize Zinc Worker (#514)Li Haoyi2018-12-1817-138/+65
| | | | | | | | | | | | | | | | | | | | | | * Generalize Zinc worker - Compiler bridges can now be either pre-compiled or on-demand-compiled - Scala library/compiler jar discovery is now configurable - Zinc compiler cache is now configurable, rather than being hardcoded at n=1 * . * update constructor args * remove duplicate util/AggWrapper.scala file * fix * fix * fix * cleanup
* Discover - break overridesRoutes into fixed size chunks (#509)Gregor Uhlenheuer2018-12-141-2/+5
| | | | | | | | | | * Discover - break overridesRoutes into fixed size chunks * Discover - simplify lambda creation * add LargeProjectTests * LargeProjectTests: remove Ydelambdafy
* Added doc to version targetTobias Roeser2018-12-141-0/+4
|
* collapse boilerplate folder structure within src/ folders (#505)Li Haoyi2018-12-1274-0/+0
| | | | | | * collapse boilerplate folder structure within src/ folders * .
* First pass at splitting out worker-api from mill core. (#504)Li Haoyi2018-12-1233-196/+523
| | | | | | | | | This reduces the {scala,scalajs,scalanative}-worker dependency from the entirety of Mill to a much narrower `mill.api` module. This reduces the amount of classpath pollution within these workers, should mean they're much faster to download the first time, and reduces the amount of random junk they would pull in if they were to be used outside of the Mill project. The interactions between the various *Modules and their *WorkerImpls has been narrowed down to the `*.api` modules, which only depend on other `*.api` modules. A lot of things have been moved around; user code is unlikely to break, but it's possible some will if it references classes that have been moved around. Forwarders have been left for the few internal classes that Mill uses in it's own `build.sc`, to support bootstrapping. Third-party code which breaks should be a straightforward to fix just by updating imports The `*.api` modules have minimal dependencies (mostly uPickle and os-lib) and minimal code. There is still a bunch of implementation code in there: some of it defining data-types that are commonly sent across the module/worker interface (`Agg`, `PathRef`, ...), and some of it just general helper functions that are needed both in modules and workers. The latter code isn't strictly API definitions, but for now is small enough it's not worth splitting into it's own module
* Added info about skipped mill server in `-i` cmdline optionTobias Roeser2018-12-101-1/+1
| | | | See https://github.com/lihaoyi/mill/issues/497
* bump Ammonite version0.3.5Li Haoyi2018-11-194-16/+12
|
* mergeLi Haoyi2018-11-061-1/+1
|\
* | fix assembly path handling, swap out Jvm.scala's custom subprocess handling ↵Li Haoyi2018-11-053-108/+101
| | | | | | | | with os.proc
* | WIP migrating over from `ammonite.ops` to `os` module.Li Haoyi2018-11-0544-307/+260
|/ | | | __.compile works, haven't run tests yet
* Add tut contrib module (#464)David Gregory2018-10-311-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add tut contrib module * Add TutModule tests and documentation * Use Path instead of PathRef for tut target directory * Use the correct scala version in TutModule * Ensure resolving tut doesn't bring in extra scala-library jars * Ensure MILL_VERSION system property is set in tut tests * Fork to run tut to fix classpath problems, add test with library usage * Follow convention w.r.t. publishVersion in testArgs * Add Scaladoc to TutModule * Don't supply a default version of Tut * Update docs to account for mandatory tutVersion setting * Inline tutArgs, otherwise Tut does not recompile when sources change
* Added new cmdline option --debug,-d to enable debug logTobias Roeser2018-10-305-9/+24
|
* Added additional debug log channel (default: log-file only)Tobias Roeser2018-10-306-18/+45
|
* Added some source docsTobias Roeser2018-10-291-1/+12
|
* Fixed typoTobias Roeser2018-10-291-1/+3
|
* Add createJar() ScalaDocJim Lawson2018-10-281-0/+13
|
* Evaluate filterJar() task.Jim Lawson2018-10-281-1/+1
|
* Add a filter parameter (default true for all files) to createJar().Jim Lawson2018-10-282-2/+13
| | | | Add createJar() filter test.
* bump Ammonite versionLi Haoyi2018-10-182-35/+38
|
* Include scaladoc as part of mill inspect (#435)Li Haoyi2018-09-2014-37/+224
|
* Remove useless type parameters for {Test,}Evaluator (#416)Guillaume Martres2018-09-156-39/+39
| | | | | | * Remove useless type parameters for {Test,}Evaluator * Update Evaluator.scala
* Make sure files are readable when traversing source files. (#423)Victor Borja2018-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Mill was trying to read all files found under the source directory to create a digest for each of them. This was causing an error for broken symlinks. At first I believed temporary files should be ignored to avoid this problem, and asked at the gitter channel how to go about this, but overriding the `sources` task as [suggested](https://gitter.im/lihaoyi/mill?at=5ad6cd801130fe3d36eb7655) by @lihaoyi didn't actually help. on a simple scala project, editing a file with Emacs, creates a link file, like: ``` vic@oeiuwq ~/h/foo> ls -la foo/src/ total 8 drwxr-xr-x 4 vic staff 128 Sep 1 12:23 . lrwxr-xr-x 1 vic staff 22 Sep 1 12:23 .#hello.scala -> vic@oeiuwq.local.10748 drwxr-xr-x 3 vic staff 96 Sep 1 12:22 .. -rw-r--r-- 1 vic staff 12 Sep 1 12:22 hello.scala ``` So this patch only makes sures that the files (or the symlink here) is actually readable before trying to digest it. Fixes #402
* Fix shutdown hook failures in tests (#422)aosagie2018-09-022-18/+11
| | | | | | * Remove duplication from ClassLoader.create * Prevent closing of context class loader in tests so that shutdown hooks can run
* Fix incremental compilation when a Scala project depends on a Java project ↵Guillaume Martres2018-08-251-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#414) * Upgrade ammonite to 1.1.2-30-53edc31 This is mainly to get https://github.com/lihaoyi/Ammonite/pull/851 which should reduce the amount of unnecessary work done by incremental compilation in the Mill build. This requires some code changes since this means we now depend on a more recent version of coursier, as a side-effect this means that we do not depend on scalaz anymore. Also use the same ammonite version in the Mill build and in ScalaModule#ammoniteReplClasspath. Also remove an incorrect dependency in the caffeine integration test. This was always wrong but did not start failing until this commit, probably due to dependencies appearing in a different order on the classpath. * Rename ScalaWorker to ZincWorker Starting with the next commit, it will be used in Java-only projects too, so the name is misleading. * Upgrade to Zinc 1.2.1 * Fix incremental compilation when a Scala project depends on a Java project Before this commit, JavaModule#compile simply called javac unconditionally, thus generating new classfiles every time. But if a Scala project depends on a Java project, this will throw off the incremental compilation algorithm which will unnecessarily recompile files. To avoid this we now use Zinc to compile Java projects too (as a bonus this means that Java compilation becomes incremental). This required some refactoring in ZincWorkerImpl to be able to compile stuff without having to pass Scala-specific options. The issue solved by this commit could be reproduced by running in the Mill repository: $ mill main.compile $ mill -i @ main.compile() and observing that before this commit, the `main.compile()` call ended up recompiling code.
* Tidying up:Li Haoyi2018-08-2228-0/+3194
| | | | | - Combine `main/` and `core/` - Rename `jsbridges/`/`scalanativebridges/` -> `worker/` for consistency with other terminology