Skip to content

Allow example as special executable type #275

Closed
@awvwgk

Description

@awvwgk

Suggested in #257 (review).

Additionally to the currently available executable and test tables an example table would allow to have usage example in a project which do not count as production executables but rather as demonstrations.

The syntax would be identical to the executable and test table with:

[[example]]
name = "demo"
source-dir = "example"  # suggestions for the default dir?
main = "main.f90"

Also, example executables can be automatically discovered like executables or test:

[build]
auto-examples = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    specificationIssue regarding fpm manifest and model

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions