reifyhealth / specmonstah

Specmonstah will eat the face off your test fixtures
MIT License
360 stars 18 forks source link

[boot][devenv] add profile.boot with task to generate lein project for Cursive users #16

Closed ogeagla closed 6 years ago

ogeagla commented 6 years ago

In order to support Cursive and other IDEs/plugins which depend on leiningen's project.clj for fetching dependencies, I followed: https://github.com/boot-clj/boot/wiki/For-Cursive-Users And simply copy-pasted the task into a profile.boot file.

Running boot lein-generate generates a project.clj, which Cursive picks up and allows for better developer experience in Intellij.

khiemlam commented 6 years ago

@ogeagla I appreciate you thinking about making this project compatible with Cursive devs. As a Cursive user, I've also followed the wiki and set it up myself. I think what the wiki is suggesting is for you to add the profile.boot file to your own dev environment, instead of adding it to the project. In my case, I've added this file to /Users/khiem/.boot/profile.boot, so now I can access any boot project from Cursive without having to add it to each boot project. Let me know if that solution works for you. If so, I'd like to close this PR.

ogeagla commented 6 years ago

@khiemlam Thanks for the reply and clarification, I'm new to using boot. Adding that copypasta to ~/.boot/profile.boot works for me, closing.