Add project version printing for t8n executable#555
Conversation
| if (arg == "-v") | ||
| { | ||
| std::cout << "evmone dev\n"; // FIXME: Return proper version. | ||
| std::cout << "evmone " << PROJECT_VERSION << std::endl; |
There was a problem hiding this comment.
| std::cout << "evmone " << PROJECT_VERSION << std::endl; | |
| std::cout << "evmone-t8n " << PROJECT_VERSION << std::endl; |
Why not?
There was a problem hiding this comment.
Depends what you want to see in the generated tests.
There was a problem hiding this comment.
I think -t8n is ok. We will probably will have also project versions for other executables so it's good to distinct them
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #555 +/- ##
==========================================
+ Coverage 97.00% 97.01% +0.01%
==========================================
Files 66 64 -2
Lines 6134 6122 -12
==========================================
- Hits 5950 5939 -11
+ Misses 184 183 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
94c60e1 to
d78e87d
Compare
| if (arg == "-v") | ||
| { | ||
| std::cout << "evmone dev\n"; // FIXME: Return proper version. | ||
| std::cout << "evmone-t8n " << PROJECT_VERSION << std::endl; |
There was a problem hiding this comment.
| std::cout << "evmone-t8n " << PROJECT_VERSION << std::endl; | |
| std::cout << "evmone-t8n " PROJECT_VERSION "\n"; |
There was a problem hiding this comment.
The string will be concatenated by the compiler and std::cout called only once.
d78e87d to
7b33ad7
Compare
7b33ad7 to
c6a1624
Compare
No description provided.