summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add JavaModule#runBackground, to allow a task to kick off processes to run ↵Li Haoyi2018-07-217-19/+150
| | | | in the background that only die when the task is re-run
* tweak docsLi Haoyi2018-07-181-8/+11
|
* improve error messages for scala native test suiteLi Haoyi2018-07-182-11/+82
|
* WIP: Scala native (#206)Andrew Richards2018-07-1813-5/+843
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add scala-native PR#1143 as submodule * first pass at integrating scala-native build into mill including worker/bridge * add the native libraries to the compile and run classpath * sssshhh don't be so noisy * update scala-native to latest build WIP * update mill to latest scala-native build-api code * add test interface from scala-native this code is not published ornot published at the correct scala version so copy it in for now * implement tests for scala-native very messy at the moment also correct bridge version as much as possible with out a scala-native release * update to scala-native/master scala-native #1143 now merged * Remove scala-native submodule * updates for scala-native 0.3.7 release * fixes after rebase * make test framework agnostic and tidy dependencies * add robust method of getting JVM classpath for running tests support for multiple test frameworks tidy up * rebase fixes for 0.2.0 * add SbtNativeModule and tidy * rebase fixes * fix building of compile / run Classpath (via transitiveIvyDeps) better method of loading JVM test frameworks * add tests for build, run, utest, scalatest * move native tests into it own trait which can be extended/overidden * change release mode to a sealed trait instead of boolean * add logLevel to ScalaNativeModule and plumb in propagate release and log levels to test projects * use test-runner from scala-native instead of including project source add ability easily compile against scala-native snapshots * add some docs * update to 0.3.8
* add --disable-ticker, handle --color correctly (#379)Anton Sviridov2018-07-149-25/+49
|
* Issue #314; port sbt-updates to mill (#340)Guillaume Galy2018-07-1415-0/+943
| | | | | | | | | | | | | | | | | | | | | | | | | | * Implement basic dependency resolution * Implement basic dependency versions resolution (Maven only) * refactor dependency updates code * add resolution of updated dependencies * remove dependency on locally-built coursier * dependency updates output formatting * Add 'allowPreRelease' option * start adding tests * Add more tests * Add documentation * Cleanup code * rewrite version parser to use fastparse
* Merge branch 'master' of github.com:lihaoyi/mill0.2.4Li Haoyi2018-07-064-5/+48
|\
| * Add scoop as installation option for Windows (#377)Martin Mauch2018-06-281-0/+6
| |
| * Add scala JS version suffix to ivy deps for published JS ivy.xml (#376)Julian Michael2018-06-252-4/+10
| |
| * Add Docker instructions (#369)Martin Mauch2018-06-101-0/+7
| |
| * 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
| |
* | 0.2.4Li Haoyi2018-07-062-2/+12
|/
* Merge branch 'master' of github.com:lihaoyi/millLi Haoyi2018-06-0922-255/+381
|\
| * Allow configuration of JavaModule and ScalafmtModule scala workers (#367)aosagie2018-06-082-2/+2
| |
| * fix download url typo (#366)Alexey Pozdnyakov2018-06-081-1/+1
| |
| * Fixed typos, wordings, formatted examples (#365)Sakib Hadžiavdić2018-06-068-223/+219
| |
| * 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
* | avoid duplicating core scala libraries during artifact resolution to fix ↵Li Haoyi2018-06-093-4/+13
|/ | | | https://github.com/lihaoyi/mill/issues/368
* 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
|