summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* 0.3.9 for realsLi Haoyi2019-05-201-2/+2
|
* Merge branch '599'Li Haoyi2019-05-208-1/+376
|\
| * Merge branch 'master' into dockerLi Haoyi2019-05-1911-1/+795
| |\
| | * Add support for Scoverage (#571)Nik Vanderhoof2019-05-197-1/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add initial work for ScoverageModule * style: Move package scoverage from lib to contrib Suggested by @lefou > I think, it would be better to add under `mill.contrib.scoverage`. Pull request: #571 * Initial changes to non-hardcoded scoverage version * Using task context api to specify dataDir Now measurement data will be written to: PROJECT_ROOT/out/MODULE/scoverage/data/ and the html report will be written to: PROJECT_ROOT/out/MODULE/scoverage/data/htmlReport/ * Remove wild card imports in scoverage Also remove scoverage dependency from build.sc * Move htmlReport into worker Based on what I've seen in scalalib, scalajslib, scalanativelib, playlib, and twirllib modules. Still need to add tests * Add basic docs + tests for scoverage I still am working on testing the actual generation of reports. * Use cross-module for scoverage worker Now we can support multiple versions of scoverage by adding them to the crossmodule list. Also now running the local publish script succeeds. * Add scoverage to ci tests * Add detailed ScoverageModule documentation * Test scoverage dataDir * Remove <pre> tags in scaladoc * Add scoverage dependency in less hacky way * Modify scoverage tests to check classpaths * Put docs in alphabetical order * Test classpaths for scoverage runtime * Remove abstract def test: ScoverageTests * Construct classloader differently * Revert "Construct classloader differently" This reverts commit fccf9a94cc38fb9e2be58a9ff90b00b65f339db6. * Revert "Construct classloader differently" Also fixes unfound error in html report This reverts commit fccf9a94cc38fb9e2be58a9ff90b00b65f339db6. * Fix classpath for scoverage worker
| * | Contrib module for building docker imagesNathan Fischer2019-04-221-0/+73
| | |
* | | Bump ammonite to 1.6.7 (#610)Li Haoyi2019-05-194-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bump ammonite to 1.6.7 * upgrade all the things * add scalaj-http shims for bootstrapping * wip * tweak-error-message * tweak coursier * .
* | | .Li Haoyi2019-05-191-1/+1
| |/ |/|
* | Beginning of Bloop integration (#595)Olivier Mélois2019-04-254-0/+492
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* tidy up Nathan Fischer2019-04-171-7/+1
|
* Reminder not to be badNathan Fischer2019-04-171-1/+0
|
* PR commentsNathan Fischer2019-04-173-11/+11
|
* Tests Nathan Fischer2019-04-171-0/+53
|
* Short docNathan Fischer2019-04-171-1/+1
|
* Add other essential commandsNathan Fischer2019-04-171-10/+23
|
* Flyway moduleNathan Fischer2019-04-171-0/+59
|
* contrib BuildInfo plugin: fix generatedSources, it must be a folder (#589)Vitalii Lysov2019-04-172-39/+51
| | | | | | | | | | | | | | | | | | | | * fix BuildInfo generatedSources, it must be a folder generatedSources must be a folder, but till now it was a reference to a generated file This commit fixes this issue. There are 2 reasons for this fix: (1) Because generatedSources must be folders by the definition: Folders containing source files that are generated (2) If you use intellij IDEA and build your project from the IDE, building module, which includes BuildInfo plugin, fails. * test: make explicit check that generatedSources is a folder * correct T.ctx -> T.ctx() * workaround to get `dest` property of the task into other
* Relaxes the visibility on the Twil trait.Jean Helou2019-03-111-1/+1
| | | | This makes it easier for users to customize their build.
* Extracts static asset and webjar handling to a specific traitJean Helou2019-03-113-103/+101
|
* add static assets including WebJarsAndrew Richards2019-03-115-5/+108
| | | | Signed-off-by: Jean Helou <jhe@codamens.fr>
* Reworks version specific keys and extractionJean Helou2019-03-114-3/+3
| | | | | | | Route compilation workers are specific to play minor version but still added a patch level version in the key. The playMinorVersion used to compute the version part of the key had to add a useless trailing `.0`, this is now fixed.
* Provides additionnal dependency keys for easier configurationJean Helou2019-03-114-12/+47
|
* fixes route compiler worker selector keyJean Helou2019-03-111-3/+2
| | | | | | The version was correctly derived into a worker key but the key was left unused and the full version was used instead which didn't work for non .0 versions
* Adds test for PlayApi single moduleJean Helou2019-03-115-0/+172
|
* Adds tests for the PlayModule and SingleModuleJean Helou2019-03-1115-1/+423
|
* Play modules : api only, full play and mono module project.Jean Helou2019-03-112-0/+29
|
* Add trait to configure twirl integration for playframeworkJean Helou2019-03-111-0/+29
|
* Integrate Router module and add a trait to configure it for playJean Helou2019-03-112-16/+19
|
* Tightens visibility of the internal workersJean Helou2019-03-114-7/+7
|
* Adds individual modules to configure mill to playframework's defaultsJean Helou2019-03-115-0/+72
| | | | | | | | This adds : - version configuration - dependencies - directory layout - runtime server
* Moved BuildInfo into package mill.contrib.buildinfoTobias Roeser2019-02-183-2/+6
| | | | | | This fixes https://github.com/lihaoyi/mill/issues/548 See also https://github.com/lihaoyi/mill/issues/547
* Added log statement to BuildInfo generatorTobias Roeser2019-02-181-19/+22
|
* better aligns RouterModule with mill's naming conventionsJean Helou2019-02-147-29/+13
|
* update scaladoc to leverage list markersJean Helou2019-02-141-10/+8
|
* switch to T.sources for the routesFiles settingJean Helou2019-02-1411-41/+135
|
* Updates the test of the play lib moduleJean Helou2019-02-142-3/+25
| | | | | The tests have been updated to check the returned error if the route file cannot be parsed properly.
* Adds the specialized workersJean Helou2019-02-142-0/+122
| | | | | | This module adds workers specialized for play 2.6.0. and 2.7.0, these modules actually depend on playframework artifacts. They are dynamically loaded from the `RoutesCompilerWorkerApi`.
* Adds the api submoduleJean Helou2019-02-141-0/+26
| | | | | | | | | This is the second commit of a redesign of the play lib module. This module contains only the common `api` which is implemented by the actual workers. It also defines a specific ADT to configure the type of routes generator to be used for the project. The ADT feels cleaner than a simple string but may be too restrictive.
* Reworks the toplevel playlib moduleJean Helou2019-02-143-139/+146
| | | | | | | | | | | | | | | | This is the first commit of a redesign of the play lib module. The new design was massively inspired from the `scalajslib` module. It adds a specialized worker for each version of play, both workers implement a common api from an `api`. The main module delegates to a `loader` which dynamically looks up the bridge instance through reflection then triggers the generation. - adds a `RouteCompilerWorkerApi` trait which establishes the bridge to the actual `RouteCompilerWorker`. - drops the existing `RouterGeneratorWorker` (it is specialized by versions of play and extracted to its own submodule). - updates the `RouterModule` with improved settings and documentation.
* rebase on masterJean Helou2019-02-142-6/+8
|
* Keep twirllib moduleGuillaume Grossetie2019-02-142-1/+1
|
* Load/convert instances from classloaderGuillaume Grossetie2019-02-142-9/+32
|
* Create a Play! module to compile the routerGuillaume Grossetie2019-02-145-0/+225
|
* adding support for customizable constructor annotations, codec and ↵Iurii Malchenko2019-01-046-45/+129
| | | | "inclusive dot" (#481)
* Generalize Zinc Worker (#514)Li Haoyi2018-12-182-2/+2
| | | | | | | | | | | | | | | | | | | | | | * 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
* collapse boilerplate folder structure within src/ folders (#505)Li Haoyi2018-12-1214-0/+0
| | | | | | * collapse boilerplate folder structure within src/ folders * .
* First pass at splitting out worker-api from mill core. (#504)Li Haoyi2018-12-128-16/+15
| | | | | | | | | 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
* mergeLi Haoyi2018-11-064-23/+89
|\
| * improving twirl (#473)Iurii Malchenko2018-11-024-25/+93
| | | | | | | | | | | | * improving twirl support: default imports, better `compileTwirl().classes` value * twirl module doc edits
* | WIP migrating over from `ammonite.ops` to `os` module.Li Haoyi2018-11-058-72/+64
|/ | | | __.compile works, haven't run tests yet
* Add tut contrib module (#464)David Gregory2018-10-314-0/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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