added service and timer files, aswell as Arch PKGBUILD
updated version in main.cpp to be a dependency from cmake
This commit is contained in:
8
main.cpp
8
main.cpp
@@ -2,8 +2,11 @@
|
||||
#include <iostream>
|
||||
#include <unistd.h>
|
||||
#include "str_utils.h"
|
||||
#include <sys/stat.h>
|
||||
|
||||
const char* VERSION = "0.0.1-DEV";
|
||||
#ifndef VERSION
|
||||
#define VERSION "unknown-DEV"
|
||||
#endif
|
||||
|
||||
bool shortHand(const char* str, char shortHand);
|
||||
|
||||
@@ -31,7 +34,8 @@ int main(const int argc, char** argv) {
|
||||
return -1;
|
||||
}
|
||||
std::cout << "Initialization :)" << std::endl;
|
||||
// TODO: Add init system
|
||||
|
||||
|
||||
}
|
||||
else if (strcmp(arg, "--heartbeat") == 0 || shortHand(arg, 'b')) {
|
||||
// TODO: Send heartbeat
|
||||
|
||||
Reference in New Issue
Block a user