Sitelet https://github.com/casey/just/issues/2854
Skip to content

[feature request] Expand file lists with wildcards for Windows #2854

Description

@wutai3

Hi, thanks development.

I use Just in cmd.exe on Windows, but I am having trouble because the Windows shell does not perform wildcard expansion. I need $(wildcard ).

I extract files using the following method, but if there are no matching files, dir returns an error, which stops the process.
PNG_SRC := shell(‘dir /B *.png’)

Additionally, there is no way to retrieve a list of files in subdirectories as follows:
PNG_SRC := shell(‘dir /B clip/*.png’)

In Makefile, we can retrieve a list of files using $(wildcard *.png ), so it would be great if an equivalent feature existed.``

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions