johannesgerer / buchhaltung

Smart tools for the ledger universe
http://johannesgerer.com/buchhaltung
MIT License
97 stars 8 forks source link

Implement version command #28

Open varac opened 6 years ago

varac commented 6 years ago

to find out which version of buchhaltung is installed (or how could I find out otherwise ?).

johannesgerer commented 6 years ago

Very good suggestion!!

On January 19, 2018 2:27:51 PM GMT+00:00, varac notifications@github.com wrote:

to find out which version of buchhaltung is installed (or how could I find out otherwise ?).

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/johannesgerer/buchhaltung/issues/28

varac commented 6 years ago

Thx for implementing this. However, I am using the v0.0.7 tag but buchhaltung still reports 0.0.6:

» buchhaltung --version
buchhaltung, version 0.0.6
johannesgerer commented 6 years ago

Yes, that's a bug, I need forgot to bump version in the code

On February 12, 2018 9:18:25 AM GMT+00:00, Varac notifications@github.com wrote:

Thx for implementing this. However, I am using the v0.0.7 tag but buchhaltung still reports 0.0.6:

» buchhaltung --version
buchhaltung, version 0.0.6

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/johannesgerer/buchhaltung/issues/28#issuecomment-364866487

ohbadiah commented 6 years ago

Would it be better to use something like Template Haskell in order for the version to be read at compile-time from the cabal file?