add svi.h

This commit is contained in:
josh committed 2016-06-02 14:20:07 -04:00
1 parent b530c82dca
commit f7102c1c7f
2 files changed
+10 -2

No files matched your search

+3 -2
View File
@@ -1,6 +1,7 @@
#include <iostream>
#include "SvnRunner.h"
#include <getopt.h>
#include "svi.h"
using namespace std;
@@ -21,8 +22,8 @@ int main(int argc, char * argv[])
switch (o)
{
case OPT_VERSION:
printf("version 0.0.0alpha0\n");
break;
printf(APPLICATION_NAME " version " APPLICATION_VERSION "\n");
return 0;
}
}
+7
View File
@@ -0,0 +1,7 @@
#ifndef SVI_H
#define SVI_H
#define APPLICATION_NAME "svi"
#define APPLICATION_VERSION "0.0.0alpha0"
#endif