haskell / haskell/cabal

Add `doctest-%` pattern target

Open Beginner friendly
#11,798 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

> Instead, it'd be good to have a generic target e.g.
>
> ```
> doctest-%:
> cd $* && $(DOCTEST)
> ```
>
> -- [doctest-% suggestion](https://matrix.to/#/!YWYQDCuIpuQHzGrLzd:matrix.org/$X8_Imm8BwEiTaNyqLnGGmXXRsiyZqVDbKkxLfg4fEKk?via=matrix.org&via=kf8nh.com&via=tchncs.de)

Contributor guide

Open the contributing guide

Research direction

Start by locating the build configuration that defines DOCTEST and existing doctest targets. Add the generic doctest-% target described in the issue, then verify that invoking it with a directory runs the doctests there.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.