practically the whole thing up and running. I should make commits more often...

This commit is contained in:
Odweta
2023-12-27 16:14:07 +01:00
parent 7d64937966
commit d5802dd341
14 changed files with 500 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef ARGS_H
#define ARGS_H
typedef enum {
NEW, // create a project
BUILD, // build a project
RUN // build and run a project or run a project (is_built is denoted in .vendettaconfig => if true, just run, otherwise build and run)
} meg_e; // mutually_exclusive_group_e;
typedef struct {
meg_e main_arg;
char* project_name;
} args_t;
args_t parse_args(int argc, char** argv);
#endif
+6
View File
@@ -0,0 +1,6 @@
#ifndef BUILD_H
#define BUILD_H
void build_project();
#endif
+6
View File
@@ -0,0 +1,6 @@
#ifndef NEW_H
#define NEW_H
void new_project(char* name);
#endif
+6
View File
@@ -0,0 +1,6 @@
#ifndef RUN_H
#define RUN_H
void run_project();
#endif