vialab / SMT

Simple Multi-Touch (SMT) Toolkit
http://vialab.science.uoit.ca/smt
GNU General Public License v3.0
43 stars 18 forks source link

Add version tracking information #203

Closed kiwistrongis closed 10 years ago

kiwistrongis commented 10 years ago

SMT.revision is an integer tracks the revision. It should always be greater than all previous releases. It is equivalent with the version variable in [library.properties].

SMT.version is a string that tracks the release of SMT. It is equivalent with the prettyVersion variable in [library.properties] as well as the git tag for the same release ( with the exception of the preceding 'v' in git tags ).

SMT.version_pretty is a human-readable version of SMT.version. It should include alpha and beta information.

SMT.getRevision(), SMT.getVersion(), and SMT.getPrettyVersion() get SMT.revision, SMT.version, and SMT.version_pretty, respectively.

kiwistrongis commented 10 years ago

done as of 04874006e732b349a8f8d86aa771b7b6f493e11b