| author | |
| committer | |
| log | 2c326c87b16a0b8febf5347292ba61a592467d8c |
| tree | 4247d6bd27c96800b30914db8e1bdca70393f454 |
| parent | f4428e5804971f4bbb897b5d1d5583073bcb31aa |
and update the CI scripts to match.5 files changed, 5 insertions(+), 5 deletions(-)
build.zig+1-1| ... | @@ -49,7 +49,7 @@ pub fn build(b: *std.Build) !void { | ... | @@ -49,7 +49,7 @@ pub fn build(b: *std.Build) !void { |
| 49 | docgen_cmd.addArgs(&.{ "--zig", b.zig_exe }); | 49 | docgen_cmd.addArgs(&.{ "--zig", b.zig_exe }); |
| 50 | docgen_cmd.addFileSourceArg(.{ .path = "doc/langref.html.in" }); | 50 | docgen_cmd.addFileSourceArg(.{ .path = "doc/langref.html.in" }); |
| 51 | const langref_file = docgen_cmd.addOutputFileArg("langref.html"); | 51 | const langref_file = docgen_cmd.addOutputFileArg("langref.html"); |
| 52 | const install_langref = b.addInstallFileWithDir(langref_file, .prefix, "langref.html"); | 52 | const install_langref = b.addInstallFileWithDir(langref_file, .prefix, "doc/langref.html"); |
| 53 | if (!skip_install_lib_files) { | 53 | if (!skip_install_lib_files) { |
| 54 | b.getInstallStep().dependOn(&install_langref.step); | 54 | b.getInstallStep().dependOn(&install_langref.step); |
| 55 | } | 55 | } |
ci/aarch64-linux-debug.sh+1-1| ... | @@ -67,7 +67,7 @@ stage3-debug/bin/zig build test docs \ | ... | @@ -67,7 +67,7 @@ stage3-debug/bin/zig build test docs \ |
| 67 | --zig-lib-dir "$(pwd)/../lib" | 67 | --zig-lib-dir "$(pwd)/../lib" |
| 68 | 68 | ||
| 69 | # Look for HTML errors. | 69 | # Look for HTML errors. |
| 70 | tidy --drop-empty-elements no -qe "$ZIG_LOCAL_CACHE_DIR/langref.html" | 70 | tidy --drop-empty-elements no -qe "stage3-debug/doc/langref.html" |
| 71 | 71 | ||
| 72 | # Produce the experimental std lib documentation. | 72 | # Produce the experimental std lib documentation. |
| 73 | stage3-debug/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib | 73 | stage3-debug/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib |
ci/aarch64-linux-release.sh+1-1| ... | @@ -67,7 +67,7 @@ stage3-release/bin/zig build test docs \ | ... | @@ -67,7 +67,7 @@ stage3-release/bin/zig build test docs \ |
| 67 | --zig-lib-dir "$(pwd)/../lib" | 67 | --zig-lib-dir "$(pwd)/../lib" |
| 68 | 68 | ||
| 69 | # Look for HTML errors. | 69 | # Look for HTML errors. |
| 70 | tidy --drop-empty-elements no -qe "$ZIG_LOCAL_CACHE_DIR/langref.html" | 70 | tidy --drop-empty-elements no -qe "stage3-release/doc/langref.html" |
| 71 | 71 | ||
| 72 | # Produce the experimental std lib documentation. | 72 | # Produce the experimental std lib documentation. |
| 73 | stage3-release/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib | 73 | stage3-release/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib |
ci/x86_64-linux-debug.sh+1-1| ... | @@ -66,7 +66,7 @@ stage3-debug/bin/zig build test docs \ | ... | @@ -66,7 +66,7 @@ stage3-debug/bin/zig build test docs \ |
| 66 | --zig-lib-dir "$(pwd)/../lib" | 66 | --zig-lib-dir "$(pwd)/../lib" |
| 67 | 67 | ||
| 68 | # Look for HTML errors. | 68 | # Look for HTML errors. |
| 69 | tidy --drop-empty-elements no -qe "$ZIG_LOCAL_CACHE_DIR/langref.html" | 69 | tidy --drop-empty-elements no -qe "stage3-debug/doc/langref.html" |
| 70 | 70 | ||
| 71 | # Produce the experimental std lib documentation. | 71 | # Produce the experimental std lib documentation. |
| 72 | stage3-debug/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib | 72 | stage3-debug/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib |
ci/x86_64-linux-release.sh+1-1| ... | @@ -67,7 +67,7 @@ stage3-release/bin/zig build test docs \ | ... | @@ -67,7 +67,7 @@ stage3-release/bin/zig build test docs \ |
| 67 | --zig-lib-dir "$(pwd)/../lib" | 67 | --zig-lib-dir "$(pwd)/../lib" |
| 68 | 68 | ||
| 69 | # Look for HTML errors. | 69 | # Look for HTML errors. |
| 70 | tidy --drop-empty-elements no -qe "$ZIG_LOCAL_CACHE_DIR/langref.html" | 70 | tidy --drop-empty-elements no -qe "stage3-release/doc/langref.html" |
| 71 | 71 | ||
| 72 | # Produce the experimental std lib documentation. | 72 | # Produce the experimental std lib documentation. |
| 73 | stage3-release/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib | 73 | stage3-release/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib |