2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2024-12-29 08:05:41 +03:00
metamod-r/metamod/version/appversion.vm
s1lentq eaf6f1ae41 Added gradle
Refactoring
2016-07-26 07:22:47 +07:00

28 lines
942 B
Plaintext

#ifndef __APPVERSION_H__
\#define __APPVERSION_H__
//
// This file is generated automatically.
// Don't edit it.
//
// Version defines
\#define VERSION_MAJOR ${verInfo.majorVersion}
\#define VERSION_MINOR ${verInfo.minorVersion}
\#define APP_COMMIT_AUTHOR "(${verInfo.authorCommit})"
\#define APP_COMMIT_ID "${verInfo.commitID}"
\#define APP_COMMITS_URL "${verInfo.urlCommits}"
\#define APP_VERSION_D ${verInfo.format('.', '-', true)}
\#define APP_VERSION_C ${verInfo.majorVersion},${verInfo.minorVersion},0,${verInfo.countCommit}
\#define APP_VERSION_STRD "${verInfo.majorVersion}.${verInfo.minorVersion}.${verInfo.countCommit}"
\#define APP_VERSION_STRD_RC "${verInfo.majorVersion}.${verInfo.minorVersion}.${verInfo.countCommit}"
#set ( $commitYMD = $_DateTimeFormat.forPattern('yyyy-MM-dd').print($verInfo.lastCommitDate) )
\#define APP_VERSION_YMD_STR "${commitYMD}"
\#define APP_VERSION APP_VERSION_STRD
#endif //__APPVERSION_H__