Skip to content

Allow : separator to define multiple paths on a single sources entry #1018

@eitsupi

Description

@eitsupi

I am using the following Taskfile, but there are several tasks that refer to partially overlapping sources, and I felt it would be useful to be able to specify multiple sources at once.

https://github.com/eitsupi/prqlr/blob/cade3aa1a8cd4c5b1a39b3ea38aea4d95d9e1fdc/Taskfile.yml#L42-L67

  test-source:
    sources:
      - tests/**/*
      - R/*
      - src/Makevars*
      - src/rust/Cargo.toml
      - src/rust/src/**/*.rs

  test-vignettes:
    sources:
      - vignettes/**/*.Rmd
      - R/*
      - src/Makevars*
      - src/rust/Cargo.toml
      - src/rust/src/**/*.rs

I would like to define R/*, src/Makevars*, src/rust/Cargo.toml, src/rust/src/**/*.rs somewhere and designate it collectively.

Originally posted by @eitsupi in #1009

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssues that are good for first-time contributors to pick up.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions