| ... | ... | @@ -1011,8 +1011,10 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var |
| 1011 | 1011 | zig_exe, |
| 1012 | 1012 | "build-exe", |
| 1013 | 1013 | tmp_source_file_name, |
| 1014 | | "--output", |
| 1015 | | tmp_bin_file_name, |
| 1014 | "--output-dir", |
| 1015 | tmp_dir_name, |
| 1016 | "--name", |
| 1017 | code.name, |
| 1016 | 1018 | }); |
| 1017 | 1019 | try out.print("<pre><code class=\"shell\">$ zig build-exe {}.zig", code.name); |
| 1018 | 1020 | switch (code.mode) { |
| ... | ... | @@ -1085,8 +1087,8 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var |
| 1085 | 1087 | zig_exe, |
| 1086 | 1088 | "test", |
| 1087 | 1089 | tmp_source_file_name, |
| 1088 | | "--output", |
| 1089 | | test_out_path, |
| 1090 | "--output-dir", |
| 1091 | tmp_dir_name, |
| 1090 | 1092 | }); |
| 1091 | 1093 | try out.print("<pre><code class=\"shell\">$ zig test {}.zig", code.name); |
| 1092 | 1094 | switch (code.mode) { |
| ... | ... | @@ -1122,8 +1124,8 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var |
| 1122 | 1124 | "--color", |
| 1123 | 1125 | "on", |
| 1124 | 1126 | tmp_source_file_name, |
| 1125 | | "--output", |
| 1126 | | test_out_path, |
| 1127 | "--output-dir", |
| 1128 | tmp_dir_name, |
| 1127 | 1129 | }); |
| 1128 | 1130 | try out.print("<pre><code class=\"shell\">$ zig test {}.zig", code.name); |
| 1129 | 1131 | switch (code.mode) { |
| ... | ... | @@ -1179,8 +1181,8 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var |
| 1179 | 1181 | zig_exe, |
| 1180 | 1182 | "test", |
| 1181 | 1183 | tmp_source_file_name, |
| 1182 | | "--output", |
| 1183 | | test_out_path, |
| 1184 | "--output-dir", |
| 1185 | tmp_dir_name, |
| 1184 | 1186 | }); |
| 1185 | 1187 | switch (code.mode) { |
| 1186 | 1188 | builtin.Mode.Debug => {}, |
| ... | ... | @@ -1239,10 +1241,10 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var |
| 1239 | 1241 | tmp_source_file_name, |
| 1240 | 1242 | "--color", |
| 1241 | 1243 | "on", |
| 1242 | | "--output", |
| 1243 | | tmp_obj_file_name, |
| 1244 | | "--output-h", |
| 1245 | | output_h_file_name, |
| 1244 | "--name", |
| 1245 | code.name, |
| 1246 | "--output-dir", |
| 1247 | tmp_dir_name, |
| 1246 | 1248 | }); |
| 1247 | 1249 | |
| 1248 | 1250 | if (!code.is_inline) { |