summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow configuration of TestRunner's ScalaWorkerModule (#364)aosagie2018-06-062-3/+3
|
* Allow hyphens in module and task names (#362)Joseph K. Strauss2018-06-0612-27/+157
| | | | | | | | | | | | | | | | | * 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
* add mill plan to the docsLi Haoyi2018-06-031-4/+27
|
* update-docsLi Haoyi2018-06-031-2/+2
|
* fix-linkLi Haoyi2018-06-021-3/+3
|
* 0.2.30.2.3Li Haoyi2018-06-025-5/+1247
|
* fix #233 add append and exclude rules to assembly (#309)Nikolay Tatarinov2018-06-0110-63/+457
| | | | | | | | | | | | | | | | | | | | | | | | * fix #233 add append and exclude rules to assembly * handle existing files and concatenation when file already exists in assembly * add assembly tests for append rules * tests for append patterns * tests for exclude patterns * make append algorithm use single map with fold over classpathIterator * move assembly rules logic to method * move grouping method to Assembly object, make assemblyRules Seq[_] rather than T[Seq[_]] * add test cases for when there are no rules * keep default parameter in createAssembly not to break CI * add one more reference.conf entry to tests
* Improve Intellij Idea support (#351)Olivier Mélois2018-05-304-27/+90
| | | | | | | | | | | | | | | | | | | | | | | | | * Improve Intellij Idea support Improves the Intellij Idea support in various ways : * Cherrypicks the idea conf that needs deleting rather than deleting the whole .idea directory. That directory contains elements of configuration like VCS reference that were annoying to set again every time mill regenerated idea config. * Attempts to retrieve libraries that the build depends on by inspecting the classloader of the top module * Attempts at grouping jars and sources together in order to have both in the same idea files, which appears to give better jump to definition * Hacks the library names for the libraries the build depends on, in order to match Intellij's ammonite support and not show red to the user about the library that has successfuly been resolved. Also allows to jump to the library sources from the magic import. * Remove un-necessary filters * Avoid Agg throwing because of duplicated build libraries * Removing hardcoded version from SBT idea module names
* Fix MILL_CLASSPATH for Windows (#354)Joseph K. Strauss2018-05-302-18/+35
| | | | | | | | | | | | | | | | | | | * Use comma as separator in MILL_CLASSPATH There is no need to use environment-specific separator, especially since - other variables are using commas anyway, and - it is not sent to any system-level command * Fix whitespace * Use MILL_CLASSPATH for Windows * Use vm options file for client on windows * Remove overzealous distinct * Clean up unnecessary ceremony
* Check for availability of Java compiler. (#353)Daniel Kullmann2018-05-281-0/+5
| | | | Throws an exception with a sensible error message when the Java compiler is not available.
* move graphviz interactions onto a single worker thread to satisfy J2V8 ↵Li Haoyi2018-05-253-23/+52
| | | | limitation
* use a custom, compact format for serializing PathRefs to JSONLi Haoyi2018-05-251-2/+18
|
* bump ammonite version for proper compilation cache invalidation in Java 9+Li Haoyi2018-05-251-1/+1
|
* move VisualizeModule out into it's own ExternalModule; for some reason it ↵Li Haoyi2018-05-252-7/+15
| | | | wasn't getting picked up in the build discovery before
* Add a `visualize` command to render portions of the build graph as SVG (#349)Li Haoyi2018-05-2516-256/+465
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Transitive reduction of visualized graph via jgrapht now works ``` out/dev/launcher/dest/run -i visualize __.compile _ out/dev/launcher/dest/run -i visualize core.__ ``` * Move test running logic from scalaworker into scalalib This is to try and reduce the size of the classpath we are passing to the test runner subprocess, in an attempt to fix the command-line-too-long errors we're getting in Appveyor. Now the test runner subprocess should no longer need Zinc or all of it's transitive dependencies * - Break out `GraphvizTools` into a separate Mill module, to avoid bloating the main jar and try to shorten the `MILL_SCALA_WORKER` classpath being sent to scalajslib.test (which is blowing up on windows as the CLI command is too long) - Move the meat of `resolveDependencies` from `scalalib` to `main`, to support resolving mill modules - DRY up resolution of mill modules in `Util.millProjectModule` * fix mill module resolution * Tweaks to try and make zinc work again... * Tweak `Module#reflect` to try and make it happy with `visualize` module... * fix integration test classpath * move visualization into it's own module
* Add a TwirlModule to compile Twirl templates (#271)Guillaume Grossetie2018-05-248-3/+265
| | | | | | | | | | | | | | | | | | | | | | | | * initial implementation * Upgrade to the latest version * Add tests * Update the code to comply with the new API * Use reflection to call TwirlCompiler.compile function * Run twirllib.test on CI * Use the Java API as a workaround * wip * Cleanup the code (code review) * Add an example to call the Scala API * twirl that works with scala API * Create functions to override the default settings (will be available in the future)
* Solves #345 : optional signing (#346)Olivier Mélois2018-05-232-18/+28
| | | | | | | | | | | * Solves 345 : optional signing * Made gpgPassphrase optional for publishing * Added a flag to remove signing of published artifacts altogether * Handle optional value using null as default param better than using empty string as default param.
* fixtestsLi Haoyi2018-05-222-3/+4
|
* Migrate `ProxyOutputStream` to the `main.client` module, add unit/fuzz tests ↵Li Haoyi2018-05-229-74/+193
| | | | to make sure it works
* optimize output streaming to allow batch writesLi Haoyi2018-05-223-54/+84
|
* 0.2.20.2.2Li Haoyi2018-05-203-4/+3
|
* fix windows download linkLi Haoyi2018-05-201-2/+3
|
* 0.2.10.2.1Li Haoyi2018-05-202-3/+9
|
* bump scala versionLi Haoyi2018-05-201-2/+2
|
* - Update changelog in preparation for 0.2.1Li Haoyi2018-05-204-274/+126
| | | | | | - Clean up root `readme.md` to remove duplication with the `docs/` folder - Bump zinc version
* Preserve caches between interactive and client/server mode (#342)Li Haoyi2018-05-194-16/+9
| | | | We were incorrectly duplicating the JDK classpath as part of the application classpath when we spawned the Mill server from the Mill client. This makes the transmission of application classpath to the Mill server explicit via an environment variable, so we don't end up including random things from the client classloader hierarchy that we didn't expect
* fix windows launcher script to use renamed main methodsLi Haoyi2018-05-191-2/+2
|
* WIP keep mill server alive if you Ctrl-C during --watch (#339)Li Haoyi2018-05-1911-87/+159
| | | | | | | | * wip * Clean up more resources in the Mill client after every command * catch and ignore SIGINT in Mill server to make it survive Ctrl-C on the client
* Use mill 0.2.0-36-f8d1e7 for ci tests (and Java 10 in appveyor).Robby2018-05-192-4/+4
|
* Upgrade Ammonite.Robby2018-05-192-2/+2
|
* Allow shebang with launcherUniversalScript (#338)Matthew de Detrich2018-05-181-1/+3
|
* Fixes #336: pass scalac options to ScalaDoc during docJar stage (#337)Anton Sviridov2018-05-183-3/+36
|
* Add configurable repl options (#333)Sergey Rublev2018-05-181-2/+2
|
* Update ScalaModule.scalaLi Haoyi2018-05-171-1/+1
|
* Update JavaModule.scalaLi Haoyi2018-05-171-1/+1
|
* Fix JavaModuleLi Haoyi2018-05-171-1/+1
|
* Fix JavaModule.scalaLi Haoyi2018-05-171-1/+1
|
* Restrict doc files to *.java/*.scala (#335)Jim Lawson2018-05-172-2/+2
|
* Allow single files in `generatedSources`Li Haoyi2018-05-171-1/+1
|
* Update readme.mdLi Haoyi2018-05-171-1/+1
|
* add appveyor badge to readmeLi Haoyi2018-05-171-1/+3
|
* fix-mergeLi Haoyi2018-05-161-1/+0
|
* bump ammonite version, standardize on mill.modules.Jvm.universalScript in ↵Li Haoyi2018-05-161-21/+3
| | | | build.sc
* Fixed dev.{assembly, launcher} reaching max CLI arguments in Windows by ↵Robby2018-05-162-35/+52
| | | | generating/using mill.vmoptions file. (#326)
* [WIP] Fixes #227; add `mill clean` (#315)Guillaume Galy2018-05-164-1/+142
| | | | | | | | | | | | | | | | * Adding clean as a default task * [WIP] Improve 'clean' paths resolution * Improve clean targets resolution mechanism * fix error on clean all * update "clean all" to keep all 'out/mill-*' paths * fix cross module resolution in clean task * Add documentation for "clean" task
* Update 4 - Tasks.md (#319)Alf Richter2018-05-111-4/+5
| | | Fixed all T.source to T.sources
* Update 4 - Tasks.md (#317)Alf Richter2018-05-111-2/+2
| | | Added s to T.source and fixed small typo
* Optimize calculation of commit count (#316)Joseph K. Strauss2018-05-111-2/+1
| | | | Instead of count all commits back to the beginning of time twice, and then subtracting, just make one call to let git figure it out.
* don't fail command when there is no build.sc file in directory. Lets the ↵Nikolay Tatarinov2018-05-071-3/+8
| | | | user to run basic mill commands (#307)
* fix GenIdeaImpl test modules (#312)Guillaume Galy2018-05-063-5/+12
| | | fix the syntax for the test output and resource folders