dehydrate release v2

This commit is contained in:
Your Name 2025-05-17 09:51:58 +12:00
parent 6377adeed4
commit a64a7b348d
5 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
# Build directories
/build/
/build*/
# Output binaries and folders
/output/

View File

@ -1 +1 @@
static const char *VERSION = "1";
static const char *VERSION = "2";

View File

@ -1,4 +1,5 @@
#include "argparse.hpp"
#include "version.hpp"
#include <stdexcept>
static const std::string HELP_TEXT = R"(

View File

@ -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

View File

@ -7,8 +7,6 @@ TEST_DIR="$SCRIPT_DIR/test"
rm -rf $TEST_DIR
mkdir $TEST_DIR
#"$SCRIPT_DIR/build.sh"
"$SCRIPT_DIR/output/dehydrate.amd64" src $TEST_DIR