haskell / haskell/cabal

Allow globbing for C files

Open
#2,694 1 comment 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Right now C files need to be selected one-by-one. This can be inconvenient, especially if such files are automatically generated (as we do in [inline-c](https://github.com/fpco/inline-c)). It would be convenient to be able to glob them, or at least specify a directory instead of each file.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how Cabal currently selects C files and where individual file paths are parsed. Support glob patterns or directory specifications, then verify that generated C files can be selected without listing each file individually; the issue does not name a specific source file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, haskell
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.