summaryrefslogtreecommitdiff
path: root/docs/pages/2 - Configuring Mill.md
Commit message (Collapse)AuthorAgeFilesLines
* Add section to documentation about ivy classifiersNik Vanderhoof2019-03-111-0/+3
|
* WIP migrating over from `ammonite.ops` to `os` module.Li Haoyi2018-11-051-2/+2
| | | | __.compile works, haven't run tests yet
* Fix incremental compilation when a Scala project depends on a Java project ↵Guillaume Martres2018-08-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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.
* Update 2 - Configuring Mill.mdLi Haoyi2018-08-051-1/+1
|
* Add support for Dotty projects (#397)Guillaume Martres2018-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Abstract over the scala compiler organization * Support using a locally published compiler Publishing locally with sbt means publishing ivy-style, which uses a different naming convention than maven, we now handle both cases. * Add minimal support for Dotty projects * Rewrite scalalib.Dep, introduce scalalib.CrossVersion Instead of Dep being a trait with three cases (Java/Scala/Point), it is now a case class where the cross field is an instance of the CrossVersion trait which has three cases (Constant/Binary/Full). This is more versatile since it allows for non-empty constant suffixes which will be used to implement withDottyCompat in the next commit. It's also a cleaner separation of concerns. We also deduplicate various pieces of codes that computed the artifact name: this is now always handled in Dep and CrossVersion. * Add simple way to use Scala 2 deps in a Dotty project This is similar to the withDottyCompat method in the sbt-dotty plugin. * Turn off the Dotty test on Java >= 9
* Add doc on excluding Scala library from assembly (#396)Manu Zhang2018-08-011-0/+14
|
* Fix bullets in manual (#394)Joseph K. Strauss2018-07-301-3/+4
|
* Correct Unmanaged Jars snippet (#371)mcallisto2018-06-101-1/+1
| | | The Unmanaged Jars snippet currently shown is not working, updated with correct solution as per closed issue #361.
* doc formattingrockjam2018-06-101-1/+1
|
* add docs section about assembly rulesrockjam2018-06-101-0/+24
|
* Fixed typos, wordings, formatted examples (#365)Sakib Hadžiavdić2018-06-061-41/+37
|
* Allow hyphens in module and task names (#362)Joseph K. Strauss2018-06-061-0/+38
| | | | | | | | | | | | | | | | | * Allow bacticked tasks * Prevent stack overflow * Test for illegal bacticked identifiers * Filter out illegal backticked identifiers The only legal identifiers are aplanumeric, unserscore (_), and hyphens (-). * Remove unused method that is invalid * Document valid characters for module/task names
* Scalafmt support (#308)Nikolay Tatarinov2018-05-061-0/+22
| | | | | | | | | | | | | | | | | | | | * add scalafmt module, that formats all sources files on every run * scalafmt worker that internally chaches reformatted files * move jvm process call to helper method * use scala 2.12.4 to resolve scalafmt deps; check for config file existence; add quiet flags to scalafmt CLI * make a scalafmt worker a singleton * add tests for scalafmt module * add reformatAll command * tests for reformatAll command * add docs about scalafmt support
* Fix typo (#284)Anderson Mesquita2018-04-071-1/+1
|
* doc to address #187 and #246 (#248)Sheng Chen2018-03-191-0/+18
|
* re #180 document global configuration (#200)Francis De Brabandere2018-03-051-0/+24
|
* Update 2 - Configuring Mill.mdLi Haoyi2018-02-271-3/+3
|
* Fix documentation about passing args to test runner (#158)Jeremy Apthorp2018-02-241-1/+1
| | | | | | * Fix documentation about passing args to test runner * Update 2 - Configuring Mill.md
* support multiple test frameworks (#148)Nikolay Tatarinov2018-02-221-5/+5
| | | support multiple test frameworks
* Mention the ::: variant of ivy deps (#141)Bjørn Madsen2018-02-191-1/+3
|
* Add missing import and clarify docs on testing framework (#140)Bjørn Madsen2018-02-191-18/+19
| | | | | | * Add missing import and clarify docs on testing framework * Move `Custom test frameworks` section to `Adding a Test Suite`
* more configuration examplesLi Haoyi2018-02-191-0/+35
|
* Fixed small bug in example (#133)Alf Richter2018-02-181-2/+2
|
* tweak-docsLi Haoyi2018-02-181-2/+62
| | | | | | | | | | | | | | tweak-docs tweak-docs tweak-docs tweak-docs tweak-readme tweak-readme
* tweak-docsLi Haoyi2018-02-171-0/+16
|
* Include example zips in docsLi Haoyi2018-02-171-0/+7
|
* extract on-master.py from release script, tweak docsLi Haoyi2018-02-171-1/+1
|
* generate a reasonable-looking docsite using my blog codeLi Haoyi2018-02-151-0/+277