Skip to content

Add codegen targets to purs ide server #3447

Description

@paluh

@kritzcreek already suggested that this option should probably be handled on the protocol level by Rebuild command.


I'm pasting here also some hacking hints by @kritzcreek. I think that these suggestions can be useful to anybody who wants to work on this:

The actual change that needs to happen is that defaultOptions in here:

. P.runMake P.defaultOptions

needs to have its optionsCodegenTargets field overwritten with user specified values.
For example to force coreFn generation we can change this line to:

. P.runMake (P.defaultOptions {P.optionsCodegenTargets = Set.fromList [P.JS, P.CoreFn]})

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions