This commit is contained in:
2025-07-14 23:07:13 -04:00
parent d6cf8c5dd6
commit 3a9d52c513
10 changed files with 40 additions and 6 deletions

26
yait/format.h Normal file
View File

@@ -0,0 +1,26 @@
#ifndef CORE_H
#define CORE_H
#include <stdbool.h>
typedef enum {
OPENBSD3,
GPLv3,
MIT,
UNLICENCE,
} licence_t;
typedef enum {
RAYLIB,
WINAPI,
cURL,
} lib_t;
typedef struct {
bool nogit;
licence_t licence;
char *name;
lib_t libraries[];
} format_t;
#endif

View File

@@ -1,6 +1,18 @@
#include "../lib/print.h"
#include "core.h"
int main(void) {
printfn("error: incomplete binary.");
void create(format_t);
int main(int argc, char **argv) {
if (argc < 2) {
printfn("error: not enough arguments.");
return 1;
}
format_t conf;
conf.name = argv[1];
conf.nogit = false;
return 0;
}
void create(format_t conf) {
}