mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Remove not-yet-supported docs tool.
This commit is contained in:
@@ -41,7 +41,6 @@ typedef enum
|
||||
COMMAND_CLEAN,
|
||||
COMMAND_VENDOR_FETCH,
|
||||
COMMAND_DIST,
|
||||
COMMAND_DOCS,
|
||||
COMMAND_BENCH,
|
||||
COMMAND_BENCHMARK,
|
||||
COMMAND_TEST,
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user