dehydrate release v2
This commit is contained in:
parent
6377adeed4
commit
a64a7b348d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
# Build directories
|
||||
/build/
|
||||
/build*/
|
||||
|
||||
# Output binaries and folders
|
||||
/output/
|
||||
|
@ -1 +1 @@
|
||||
static const char *VERSION = "1";
|
||||
static const char *VERSION = "2";
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "argparse.hpp"
|
||||
#include "version.hpp"
|
||||
#include <stdexcept>
|
||||
|
||||
static const std::string HELP_TEXT = R"(
|
||||
|
@ -2,9 +2,9 @@
|
||||
#include <filesystem>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "../include/argparse.hpp"
|
||||
#include "../include/generator.hpp"
|
||||
|
||||
#include "argparse.hpp"
|
||||
#include "generator.hpp"
|
||||
#include "version.hpp"
|
||||
|
||||
|
||||
std::string get_arch()
|
||||
@ -57,6 +57,7 @@ int update()
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
try {
|
||||
std::cout << "Dehydrate version " << VERSION << std::endl;
|
||||
Args args = parse_args(argc, argv);
|
||||
|
||||
// Handle update request
|
||||
|
Loading…
x
Reference in New Issue
Block a user