add version from git
This commit is contained in:
parent
49661fdea6
commit
8989cecf42
@ -1,7 +1,7 @@
|
||||
project(
|
||||
meson.current_source_dir().split('/').get(-1),
|
||||
'cpp',
|
||||
version : '1.0.0',
|
||||
version : run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip(),
|
||||
default_options : [
|
||||
'warning_level=1',
|
||||
'optimization=3',
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
auto main(int argc, char* args[]) -> int
|
||||
{
|
||||
const std::string con = "";
|
||||
const std::string con = "postgres://chatlanin:password_for_connection_to_test_db@localhost:5423/test.db?sslmode=disable";
|
||||
|
||||
try
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user