bshell: re-organise build into three separate components
bshell: the front-end binary bshell.runtime: contains the parser, compiler, and classes needed to run bshell scripts bshell.core: contains the builtin commandlets and aliases
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#include <fx/macros.h>
|
||||
#include <fx/reflection/assembly.h>
|
||||
|
||||
FX_ASSEMBLY_BEGIN(bshell_core)
|
||||
FX_ASSEMBLY_NAME("bshell.core");
|
||||
FX_ASSEMBLY_VERSION(0, 1, 0, 0);
|
||||
FX_ASSEMBLY_EXPORT_TYPE("bshell.core", "get_verb", bshell_get_verb);
|
||||
FX_ASSEMBLY_EXPORT_TYPE(
|
||||
"bshell.core",
|
||||
"write_output",
|
||||
bshell_write_output);
|
||||
FX_ASSEMBLY_EXPORT_TYPE(
|
||||
"bshell.core",
|
||||
"foreach_object",
|
||||
bshell_foreach_object);
|
||||
FX_ASSEMBLY_EXPORT_TYPE(
|
||||
"bshell.core",
|
||||
"get_command",
|
||||
bshell_get_command);
|
||||
FX_ASSEMBLY_EXPORT_TYPE("bshell.core", "percent", bshell_percent);
|
||||
FX_ASSEMBLY_EXPORT_TYPE("bshell.core", "echo", bshell_echo);
|
||||
FX_ASSEMBLY_END(bshell_core)
|
||||
Reference in New Issue
Block a user