Remove not-yet-supported docs tool.

This commit is contained in:
Christoffer Lerno
2025-02-06 23:23:19 +01:00
parent 78dcda0bb2
commit 4e717657bd
4 changed files with 0 additions and 11 deletions

View File

@@ -41,7 +41,6 @@ typedef enum
COMMAND_CLEAN,
COMMAND_VENDOR_FETCH,
COMMAND_DIST,
COMMAND_DOCS,
COMMAND_BENCH,
COMMAND_BENCHMARK,
COMMAND_TEST,

View File

@@ -58,7 +58,6 @@ static void usage(bool full)
PRINTF(" clean Clean all build files.");
PRINTF(" run [<target>] [-- [<arg1> ...]] Run (and build if needed) the target in the current project.");
PRINTF(" dist [<target>] Clean and build a target for distribution.");
PRINTF(" directives [<target>] Generate documentation for the target.");
PRINTF(" bench [<target>] Benchmark a target.");
PRINTF(" clean-run [<target>] [-- [<arg1> ...]] Clean, then run the target.");
PRINTF(" compile-run <file1> [<file2> ...] [-- [<arg1> ...]] Compile files then immediately run the result.");
@@ -453,12 +452,6 @@ static void parse_command(BuildOptions *options)
parse_optional_target(options);
return;
}
if (arg_match("directives"))
{
options->command = COMMAND_DOCS;
parse_optional_target(options);
return;
}
if (arg_match("bench"))
{
options->command = COMMAND_BENCH;

View File

@@ -80,7 +80,6 @@ bool command_accepts_files(CompilerCommand command)
case COMMAND_CLEAN_RUN:
case COMMAND_CLEAN:
case COMMAND_DIST:
case COMMAND_DOCS:
case COMMAND_BENCH:
case COMMAND_PRINT_SYNTAX:
case COMMAND_BENCHMARK:
@@ -115,7 +114,6 @@ bool command_passes_args(CompilerCommand command)
case COMMAND_BUILD:
case COMMAND_CLEAN:
case COMMAND_DIST:
case COMMAND_DOCS:
case COMMAND_BENCH:
case COMMAND_PRINT_SYNTAX:
case COMMAND_VENDOR_FETCH:

View File

@@ -91,7 +91,6 @@ int main_real(int argc, const char *argv[])
case COMMAND_BUILD:
case COMMAND_RUN:
case COMMAND_DIST:
case COMMAND_DOCS:
case COMMAND_BENCH:
case COMMAND_BENCHMARK:
case COMMAND_TEST: