Closed kylef closed 4 years ago
@klokane suggested elsehwere (https://github.com/apiaryio/drafter/pull/762#pullrequestreview-324330045) we can bring the version number into CMake too.
Turns out I missed this one: https://github.com/apiaryio/drafter/blob/master/src/drafter.h#L113-L116
Currently there isn't a public API method to get the version of Drafter, we should have one for runtime checks. I'd like to make use of the version in Draughtsman the Python binding (https://github.com/kylef/draughtsman/).