сделал сборку с предупреждением, если версия ревизии из гита не определена. привет, Даня!
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include <fstream>
|
||||
|
||||
#include "terminal_api_driver.h"
|
||||
#include "version.h"
|
||||
#include "auth/resources.h"
|
||||
#include "auth/jwt.h"
|
||||
#include "auth/utils.h"
|
||||
@@ -590,9 +591,12 @@ int main(int argc, char *argv[]) {
|
||||
#ifdef USE_DEBUG
|
||||
BOOST_LOG_TRIVIAL(info) << "Starting DEBUG " << argv[0];
|
||||
#else
|
||||
BOOST_LOG_TRIVIAL(info) << "Starting RELEASE build" << argv[0];
|
||||
BOOST_LOG_TRIVIAL(info) << "Starting RELEASE " << argv[0];
|
||||
#endif
|
||||
|
||||
BOOST_LOG_TRIVIAL(info) << ("Build time: " PROJECT_BUILD_TIME);
|
||||
BOOST_LOG_TRIVIAL(info) << ("Git version: " PROJECT_GIT_REVISION);
|
||||
|
||||
#ifdef USE_DEBUG
|
||||
http::auth::jwt::secretKey = "^}u'ZKyQ%;+:lnh^GS7!=G~nRK?7[{``";
|
||||
BOOST_LOG_TRIVIAL(info) << "DEBUG build use pre-created key " << http::auth::jwt::secretKey;
|
||||
|
||||
Reference in New Issue
Block a user