Change git handling to something with far fewer dependencies
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
2021-09-07 19:42:34 +02:00
parent af2a0b9786
commit 77dd8e708a
5 changed files with 346 additions and 5 deletions

View File

@@ -9,10 +9,10 @@
#include "Tester/AngelScript/MiscMockFunctions.hpp"
#include "Tester/AngelScript/TestFunctions.hpp"
#include "Tester/TestRunner.hpp"
#include <gitversion/version.h>
#include "git.h"
int main(int argc, char** argv) {
std::cout << "PokemonScript Tester version: " << version::VERSION_STRING << std::endl;
std::cout << "PokemonScript Tester version: " << GIT_DESCRIBE << std::endl;
args::ArgumentParser parser("PkmnLib Script Tester.", "");
args::HelpFlag help(parser, "help", "Display this help menu", {'h', "help"});