Skip to content

projects autocompletion for test using [workspace] #4603

@t-bltg

Description

@t-bltg

If I add a Project.toml containing :

name = "PlotsWorkspace"

[workspace]
projects = ["RecipesBase", "PlotThemes", "RecipesPipeline", "PlotsBase", "Plots", "GraphRecipes", "StatsPlots"]

to https://github.com/JuliaPlots/Plots.jl,

(PlotsWorkspace) pkg> test RecipesBase  # works, but I'd like Pkg to autocomplete the possible `projects` after hitting `tab`
(PlotsWorkspace) pkg> test <TAB> # <= RecipesBase or PlotThemes or RecipesPipeline ...

Also, this doesn't work, why not ?

(PlotsWorkspace) pkg> test
ERROR: The Project.toml of the package being tested must have a name and a UUID entry

We could image that the previous command could trigger the tests for all projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions