Feature: Add capability to build multiple files.
This commit is contained in:
@@ -2,11 +2,22 @@
|
||||
#define COMMAND_H
|
||||
|
||||
#include "string.h"
|
||||
#include "common.h"
|
||||
|
||||
typedef struct Arena Arena;
|
||||
typedef struct Discovery Discovery;
|
||||
typedef struct Configuration Configuration;
|
||||
|
||||
struct CommandOptions
|
||||
{
|
||||
Arena* a;
|
||||
StringPool* sp;
|
||||
BuildProfile bp;
|
||||
Configuration* c;
|
||||
StringView app;
|
||||
StringView* files;
|
||||
};
|
||||
|
||||
struct Command
|
||||
{
|
||||
Arena* a;
|
||||
@@ -16,8 +27,9 @@ struct Command
|
||||
|
||||
typedef struct Argument Argument;
|
||||
typedef struct Command Command;
|
||||
typedef struct CommandOptions CommandOptions;
|
||||
|
||||
Command command_create(Arena* a, Discovery* d, Configuration* c);
|
||||
Command command_create_f_to_o(CommandOptions* co);
|
||||
|
||||
int command_run(Command* cmd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user