Skip to content

Stack Build-API? #5248

@LeanderK

Description

@LeanderK

I am developing a GHC source-plugin that would impact the build-process, since i would need to generate different versions of functions based on the package i am developing in. I would need to traverse the dependency-graph forward (starting by main source package), parse its source-code and mark modules as needed to be recompiled with my source-plugin enabled.

Is something like this possible with stack? I think a simple way to get the dependent graph, the source-code for each dependency and mark it as dirty would suffice.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions