File tree Expand file tree Collapse file tree 4 files changed +15
-15
lines changed
Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -22,4 +22,5 @@ report/*
2222* .log
2323WD. *
2424desktop /
25- flip /
25+ flip /
26+ src /wdversion.cc
Original file line number Diff line number Diff line change 2727 modes=$mode
2828fi
2929
30+ # generate wdversion.cc
31+ last_changes=` git describe --abbrev=10 --dirty --always`
32+ version_file=src/wdversion.cc
33+
34+ printf ' namespace webdriver {
35+ extern const char kProductName[] = "WebDriver-cisco-cmt";
36+ extern const char kVersionNumber[] = "0.2.0";
37+ extern const char kBuildTime[] = __TIME__;
38+ extern const char kBuildDate[] = __DATE__;
39+ extern const char kLastChanges[] = "%s";
40+ }' $last_changes > $version_file
41+
3042for platform in $platforms
3143do
3244 for mode in $modes
Original file line number Diff line number Diff line change @@ -360,9 +360,7 @@ int RunChromeDriver() {
360360 {
361361 VersionInfo version_info;
362362 std::cout <<version_info.CreateVersionString ()<< std::endl;
363-
364-
365- return (EXIT_SUCCESS);
363+ return (EXIT_SUCCESS);
366364 }
367365
368366#if defined(OS_WIN)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments