Commit 0a8a7a57e7

Andrew Kelley <andrew@ziglang.org>
2019-03-09 17:29:15
docgen: --cache off for tests
1 parent 264b03d
Changed files (1)
doc/docgen.zig
@@ -1089,6 +1089,8 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
                             tmp_source_file_name,
                             "--output-dir",
                             tmp_dir_name,
+                            "--cache",
+                            "off",
                         });
                         try out.print("<pre><code class=\"shell\">$ zig test {}.zig", code.name);
                         switch (code.mode) {
@@ -1126,6 +1128,8 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
                             tmp_source_file_name,
                             "--output-dir",
                             tmp_dir_name,
+                            "--cache",
+                            "off",
                         });
                         try out.print("<pre><code class=\"shell\">$ zig test {}.zig", code.name);
                         switch (code.mode) {
@@ -1183,6 +1187,8 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
                             tmp_source_file_name,
                             "--output-dir",
                             tmp_dir_name,
+                            "--cache",
+                            "off",
                         });
                         switch (code.mode) {
                             builtin.Mode.Debug => {},