Skip to content

Adding support for string version of :lein-v in project.clj#24

Open
timgilbert wants to merge 1 commit intoroomkey:masterfrom
timgilbert:string-as-version-number
Open

Adding support for string version of :lein-v in project.clj#24
timgilbert wants to merge 1 commit intoroomkey:masterfrom
timgilbert:string-as-version-number

Conversation

@timgilbert
Copy link
Contributor

Hi! Sorry to inundate you with pull requests. This is a small one that lets the user specify the version in project.clj either the keyword :lein-v (the existing behavior) or the string ":lein-v". The reason for this is that Cursive currently crashes when trying to import projects with their version numbers set to keywords.

I filed a bug on the Cursive repo about the crashing issue, but I wouldn't be surprised if other tools that parse project.clj files from outside of leiningen also expect the version number to be a string, so it seems reasonable to support both :lein-v and ":lein-v".

@devth
Copy link

devth commented May 20, 2019

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants