~notmyname/swift/saio_reference

Viewing all changes in revision 300.1.1.

  • Committer: Soren Hansen
  • Date: 2011-05-26 09:25:39 UTC
  • mto: This revision was merged to the branch mainline in revision 301.
  • Revision ID: soren@linux2go.dk-20110526092539-cjkr73zd7nw0iqrg
Add a __canonical_version__ attribute to the swift module. This is only the numbered part of the version string, no "-dev" or similar suffixes.

Add a couple of unit tests to make sure __version__ and __canonical_version__ are generated correctly and to ensure __canonical_version__ never accidentally has anything other than numbers and points in it.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: