Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport 1521 #1565

Closed
wants to merge 9 commits into from
Closed

backport 1521 #1565

wants to merge 9 commits into from

Commits on Jul 15, 2021

  1. Prepared release 0.9.9

    lefou committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    64071b7 View commit details
    Browse the repository at this point in the history
  2. Disabled always failing integration test suite (com-lihaoyi#1397)

    The test issue is related to this message and happened also sometimes in the past:
    
    > utest.AssertionError: assert(eval("core.test"))
    > java.lang.Exception: Resource amm-dependencies.txt not found
    
    Pull request: com-lihaoyi#1397
    lefou committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    a59a805 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5210244 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. GenIdea: Improved calculation of runtime scoped dependencies (com-lih…

    …aoyi#1420)
    
    CI: Also build PRs to other branches
    lefou authored Jul 23, 2021
    Configuration menu
    Copy the full SHA
    797a90e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee0b01e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    07d1492 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2021

  1. Backported support for more mill-specifics in $ivy-import (com-lihaoy…

    …i#1561)
    
    Support $MILL_BIN_PLATFORM placeholder and new $ivy.`g::a::v` syntax (borrowed from Scala JS/Native dependency notation)
    
    Also updated Documentation and renamed two pages (Modules => Plugins).
    
    See pull request: com-lihaoyi#1485
    
    Pull request: com-lihaoyi#1561
    lefou authored Nov 11, 2021
    Configuration menu
    Copy the full SHA
    901301a View commit details
    Browse the repository at this point in the history
  2. Backported --import cli option and support empty plugin versions (com…

    …-lihaoyi#1562)
    
    With this PR applied, you can run targets from external modules from the command-line without touching the `build.sc`.
    
    Example:
    
    ```
    dev-mill --plugin ivy:de.tototec::de.tobiasroeser.mill.vcs.version_mill0.10.0-M2:0.1.2 show de.tobiasroeser.mill.vcs.version.VcsVersion/vcsState
    ```
    
    This PR also add support for empty versions in $ivy-imports, which will get expanded to the exact mill version. This makes consuming mill contrib plugins even more easy.
    
    Example: Generating Bloop Config without modifying the `build.sc`
    
    ```
    mill --plugin ivy:com.lihaoyi::mill-contrib-bloop: mill.contrib.bloop.Bloop/install
    ```
    
    See pull request: com-lihaoyi#1526
    
    Pull request: com-lihaoyi#1562
    lefou authored Nov 11, 2021
    Configuration menu
    Copy the full SHA
    09f5a5d View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2021

  1. Backported support for a target separator (+) in the argument parser

    This adds support to specify arbitrary targets and target arguments in one mill run.
    
    __Motivation:__ Current mill only supports the selection of one or multiple targets followed by an argument list which is applied to all targets. Providing different arguments is currently not supported.
    
    __Solution:__ We introduce a new separator `+` which separates the target arguments from the next target. To pass the `+` as argument to a target, masking with `\+` is supported.
    
    Example:
    
    ```bash
    mill __.compile + core.testCached + itest.test fastTest slowTests + __.publishLocal
    ```
    
    This command will:
    * run `compile` for all modules
    * run `testCached` for module `core`
    * run `itest.test` command with arguments ` fastTest` and `slowTests`
    * run `publishLocal` for all modules
    
    The limitation, that a command can only run once is still present and not changed by this PR.
    
    See pull request: com-lihaoyi#1521
    lefou committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    7d0dc52 View commit details
    Browse the repository at this point in the history