mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Tests - merge basic.t with version.t and convert to python
* _version now outputs "2.4.2 (git-ref)" instead of only "git-ref" when building from git. * Changelog updated accordingly.
This commit is contained in:
parent
281edcc38f
commit
dda190703e
4 changed files with 65 additions and 97 deletions
|
@ -135,7 +135,10 @@ CmdCompletionVersion::CmdCompletionVersion ()
|
|||
int CmdCompletionVersion::execute (std::string& output)
|
||||
{
|
||||
#ifdef HAVE_COMMIT
|
||||
output = COMMIT;
|
||||
output = std::string (VERSION)
|
||||
+ std::string (" (")
|
||||
+ std::string (COMMIT)
|
||||
+ std::string (")");
|
||||
#else
|
||||
output = VERSION;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue