Skip to content

Commit 0a437a1

Browse files
committed
@cxx/main.cxx:main() use SUSUWU_REV_PARSE_HEAD
@`posts/VirusAnalysis.md`: include this. Is followup to: commit HEAD~1 (@`build.sh`: +`SUSUWU_REV_PARSE_HEAD`: version.), which defines this macro. TODO: `squash`?
1 parent d95eb3b commit 0a437a1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

cxx/main.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ SusuwuUnitTestsBitmask main(int argc, const char **args) {
131131
if(true != Susuwu::classSysInit(argc, args)) {
132132
return susuwuUnitTestsClassSysBit;
133133
}
134+
#ifdef SUSUWU_REV_PARSE_HEAD
135+
SUSUWU_NOTICE("`$(git rev-parse HEAD)` == `"+ std::string(SUSUWU_REV_PARSE_HEAD) + "`");
136+
#endif /* SUSUWU_REV_PARSE_HEAD */
134137
#ifdef SUSUWU_EXPERIMENTAL
135138
SUSUWU_WARNING('`' + std::string(Susuwu::classIoGetOwnPath()) + "` " SUSUWU_EXPERIMENTAL_ISSUES);
136139
#endif

posts/VirusAnalysis.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4221,6 +4221,9 @@ SusuwuUnitTestsBitmask main(int argc, const char **args) {
42214221
if(true != Susuwu::classSysInit(argc, args)) {
42224222
return susuwuUnitTestsClassSysBit;
42234223
}
4224+
#ifdef SUSUWU_REV_PARSE_HEAD
4225+
SUSUWU_NOTICE("`$(git rev-parse HEAD)` == `"+ std::string(SUSUWU_REV_PARSE_HEAD) + "`");
4226+
#endif /* SUSUWU_REV_PARSE_HEAD */
42244227
#ifdef SUSUWU_EXPERIMENTAL
42254228
SUSUWU_WARNING('`' + std::string(Susuwu::classIoGetOwnPath()) + "` " SUSUWU_EXPERIMENTAL_ISSUES);
42264229
#endif

0 commit comments

Comments
 (0)