| ... | ... | @@ -4649,31 +4649,6 @@ fn cmdInit(gpa: Allocator, arena: Allocator, args: []const []const u8) !void { |
| 4649 | 4649 | return cleanExit(); |
| 4650 | 4650 | } |
| 4651 | 4651 | |
| 4652 | | const usage_build = |
| 4653 | | \\Usage: zig build [steps] [options] |
| 4654 | | \\ |
| 4655 | | \\ Build a project from build.zig. |
| 4656 | | \\ |
| 4657 | | \\Options: |
| 4658 | | \\ -freference-trace[=num] How many lines of reference trace should be shown per compile error |
| 4659 | | \\ -fno-reference-trace Disable reference trace |
| 4660 | | \\ --summary [mode] Control the printing of the build summary |
| 4661 | | \\ all Print the build summary in its entirety |
| 4662 | | \\ failures (Default) Only print failed steps |
| 4663 | | \\ none Do not print the build summary |
| 4664 | | \\ -j<N> Limit concurrent jobs (default is to use all CPU cores) |
| 4665 | | \\ --build-file [file] Override path to build.zig |
| 4666 | | \\ --cache-dir [path] Override path to local Zig cache directory |
| 4667 | | \\ --global-cache-dir [path] Override path to global Zig cache directory |
| 4668 | | \\ --zig-lib-dir [arg] Override path to Zig lib directory |
| 4669 | | \\ --build-runner [file] Override path to build runner |
| 4670 | | \\ --prominent-compile-errors Buffer compile errors and display at end |
| 4671 | | \\ --seed [integer] For shuffling dependency traversal order (default: random) |
| 4672 | | \\ --fetch Exit after fetching dependency tree |
| 4673 | | \\ -h, --help Print this help and exit |
| 4674 | | \\ |
| 4675 | | ; |
| 4676 | | |
| 4677 | 4652 | fn cmdBuild(gpa: Allocator, arena: Allocator, args: []const []const u8) !void { |
| 4678 | 4653 | var build_file: ?[]const u8 = null; |
| 4679 | 4654 | var override_lib_dir: ?[]const u8 = try EnvVar.ZIG_LIB_DIR.get(arena); |