Skip to content

Auto-expand glob patterns for ease of useΒ #13

Open
@djfarrelly

Description

@djfarrelly

Purpose

Globs in golang work differently the globs have worked in popular node.js libraries like gulp. To make the usage of this simpler we could make /**/*.jpg also look in the first level dir for *.jpg files.

Example

public/img/**/**/*.*

Turns into this automatically, resulting in a more shorter usage:

public/img/**/**/*.*
public/img/**/*.*
public/img/*.*

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions