monome / norns

norns is many sound instruments.
http://monome.org
GNU General Public License v3.0
630 stars 145 forks source link

version info #152

Closed simonvanderveldt closed 6 years ago

simonvanderveldt commented 6 years ago

I was wondering if we can move the version info into a header that can be included by matron and ws-wrapper? That way we don't depend on the build system and we still only have one place to update the major, minor and patch versions.

Regarding the git hash, is this something we want? If so, can we somehow conditionally include it?

ngwese commented 6 years ago

given the likelihood that people will hack on the source i'd certainly like to see git commit ids remain accessible along side normal version numbers.

tehn commented 6 years ago

did versioning survive the migration to waf? shall this issue be closed?

artfwo commented 6 years ago

waf adds the same defines as the original Makefiles, including the git commit hash: https://github.com/catfact/norns/blob/dev/wscript#L19