OndrejSladky / kmercamel

KmerCamel🐫 provides implementations of several algorithms for efficiently representing a set of k-mers as a masked superstring.
MIT License
11 stars 2 forks source link

More systematic printing of version and not requiring git #49

Closed OndrejSladky closed 10 months ago

OndrejSladky commented 11 months ago

Continuing discussion from #46

Actually $ git describe --abbrev=4 --dirty --always --tags v0.1.0 seems to be working really well!!!!! When it's a release, it prints just eg v0.1.0.

So it just needs to be included somehow in the Makefile – as the first step of compilation, this string should be generated.

Great, thanks for the idea -- I added this to the make pipeline.

One difficulty I see is that it make should be able to compile it even out of git without a failure.

In case it is out of git, it uses the version hardcoded in a separate file.