Skip to content

Commit

Permalink
pre-release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oblaser committed Mar 3, 2021
1 parent 2cbe9c6 commit affffc7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
13 changes: 8 additions & 5 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
\author Oliver Blaser
\date 02.03.2021
\date 03.03.2021
\copyright GNU GPLv3 - Copyright (c) 2021 Oliver Blaser
*/
Expand Down Expand Up @@ -78,8 +78,13 @@ namespace

void printVersion()
{
cout << "potoroo " << PRJ_VERSION << endl;
cout << endl;
cout << "potoroo " << PRJ_VERSION ;

#if PRJ_VERSION_PRERELEASE
cout << " " << sgr(SGRFGC_BRIGHT_MAGENTA) << "pre-release" << sgr(SGR_RESET);
#endif

cout << endl<< endl;
cout << "project page: <https://github.com/oblaser/potoroo>" << endl;
cout << endl;
cout << "Copyright (c) 2021 Oliver Blaser." << endl;
Expand Down Expand Up @@ -112,8 +117,6 @@ int main(int argc, char** argv)
{
int result = rcInit;

cout << " " << sgr(SGRFGC_BRIGHT_BLACK) << "pre-release " << PRJ_VERSION << sgr(SGR_RESET) << endl;

ArgList args = ArgList::parse(argc, argv);

#if PRJ_DEBUG && 1
Expand Down
4 changes: 3 additions & 1 deletion src/project.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
\author Oliver Blaser
\date 01.03.2021
\date 03.03.2021
\copyright GNU GPLv3 - Copyright (c) 2021 Oliver Blaser
*/
Expand All @@ -17,7 +17,9 @@ namespace project
}



#define PRJ_VERSION (project::version)
#define PRJ_VERSION_PRERELEASE (1)



Expand Down

0 comments on commit affffc7

Please sign in to comment.