Skip to content

Boot build tool compatibility #920

@pandeiro

Description

@pandeiro

The cider-jack-in command, hallowed be its name (and shortcut), will unfortunately not boot up a REPL and attach a client to it in projects that use Boot instead of Leiningen. This is unsurprising, given the predominance of lein, but boot support would be nice and, looking into it, the issues at play are simple and mostly confined to nrepl-client.el. Basically, they are:

  1. nrepl-project-directory-for needs to recognize build.boot in addition to project.clj files.
  2. nrepl-server-filter would need to adjust its regex to accept both lein's "nREPL server started on..." and boot's "nREPL server listening..." outputs

This would enable barebones support, with users using customization to specify "boot" as cider-lein-command and "repl -s wait" as cider-lein-parameters.

However... in the future, perhaps detection by cider for the appropriate defaults for those values on a per-project basis would be convenient to end users.

Question: would a pull request to implement the two immediate simple changes above be welcome? Or, is there any orientation in general on this question?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions