-
-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a leinify command #102
Comments
'leinification' should primarily be as simple as generating a proper basic Then exercism CLI could just invoke |
That sounds like a sensible approach. I'd be happy to do any of the work necessary on the CLI to tie things together. |
Cool... I can't promise when I'll have time to dive into it, but lein is pretty easy to hack, so I'll put that in the bucket with continuing to work on exercism-emacs now that xscheme is launched :) |
What's the status on this. Do we still want to have the leinify command? |
My two cents on this after thinking about it for a while is that we probably should not add this to the CLI. I think it's an edge case and seems very odd to have it if a user is not using clojure. |
Agreed. Maybe there could be an exercism-leinify clojure script or something that people could use if they wanted to. I'm closing this. |
See exercism/exercism#1663 and https://gist.github.com/rubysolo/d0c03cc4d5d62cfb0070 (from @rubysolo) for context and a prototype.
I'm thinking create a new handler,
Leinify()
in thehandlers
package that will read the config, get the exercism directory, and for each directory in theclojure
subdirectory, leinify any not-already leinified problems.It would bail with an error message if it can't find the exercism dir, or if it can't find a clojure directory in within it.
I haven't looked at whether or not it's straight forward to figure out if something has been leinified or not, but at first glance it seems like that should be straight-forward.
The text was updated successfully, but these errors were encountered: