Skip to content

Commit

Permalink
include "dev" in "version" command for development builds (CO_DEVBUILD)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsms committed Mar 28, 2023
1 parent 962b044 commit a92e317
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ static int usage(FILE* f) {
void print_co_version() {
printf(
"compis " CO_VERSION_STR " ("
#ifdef CO_DEVBUILD
"dev "
#endif
#if defined(CO_VERSION_GIT) && !defined(CO_DISTRIBUTION)
"src=" CO_STRX(CO_VERSION_GIT) " "
#endif
Expand Down

0 comments on commit a92e317

Please sign in to comment.