renaissance icon indicating copy to clipboard operation
renaissance copied to clipboard

Package benchmark sources in the final jar

Open farquet opened this issue 2 years ago • 2 comments

Since there has been quite a lot of renaissance releases in the last couple of years, it may not be obvious for a user to locate the benchmark sources on GitHub for a given renaissance execution they're investigating locally.

Assuming the addition of sources wouldn't increase the jar size too much, we could consider packaging them inside the jar such that IDEs would pick them up automatically.

It is very simple to do with maven and its maven-source-plugin, but I can't find much around this for sbt though.

farquet avatar Dec 17 '21 08:12 farquet

Doesn't this happen by default when you publish? Here's how to disable it:

Compile / packageSrc / publishArtifact := false,

https://www.scala-sbt.org/1.x/docs/Artifacts.html

axel22 avatar Dec 19 '21 08:12 axel22

Since there has been quite a lot of renaissance releases in the last couple of years

I might be a bit slow, but I don't completely get what is the problem we are trying to solve? We are not what I would describe as a fast-moving project (5 releases in 2 years)...

The releases get an automatic source snapshot. It's also possible to check out the release tag. For anything unreleased, i.e., built by people from the master branch between two releases, it's always possible to check out the specific commit id (which can be found in the manifest).

lbulej avatar Dec 20 '21 15:12 lbulej