Skip to content

ns declaration in version.clj should be customizable #21

@timgilbert

Description

@timgilbert

This plugin looks great, but I've got a feature request. I have a few different internal libraries that I'd like to use the version.clj functionality for, let's say alpha and beta, which are packaged up as jars and then used by my main application, app. If all of them declare a top-level version namespace, I won't have any way to specifically get alpha.version or app.version.

With the EDN files I can work around this since from beta I can generate the file in resources/beta/version.edn, and then from app I can slurp in beta/version.edn to get that specific version.

Anyways, what I'd like to be able to do is something like lein v cache src/beta clj beta.version and then wind up with a file src/beta/version.clj which starts with (ns beta.version).

I can probably cook up a pull request for this if it seems like a good idea, but I thought I'd raise the issue first.

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