lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Are there any conventional ways to have a library return its version?
I'm thinking of something simple I can use in a build system like

lua -l foo -e 'print (foo.version)'

which simultaneously tests that the library can be found and gets its version.

Something standard about the format of the version would also be nice.