Skip to content

Convenience for turning off the timestamp #123

@jroper

Description

@jroper

Sometimes when you're developing a library or sbt plugin, the most convenient way to test it is in another project, and so you have a dev cycle like this:

  1. Run sbt publishLocal
  2. Rerun command in the dependent project to test the changes

When using sbt-dynvar, this dev cycle becomes far more tedious:

  1. Run sbt publishLocal
  2. Copy the timestamp that was built
  3. Open plugins.sbt/build.sbt in dependent project
  4. Update dependency to have the new timestamp
  5. Rerun command in other project to test the changes

It'd be nice if out of the box, sbt dynver had a system property that could be set to turn off outputting the timestamp, perhaps replacing it with dev. Of course, I can do this in my own project, but often the project is not my own project, and I don't want to go updating the build.sbt of that project to override the sbt config, and then need to back it out each time I commit, etc.

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