diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-01-07 02:58:27 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-01-07 02:58:27 -0700 |
| commit | 87aa052e2395ab3cab89b8afaaf6156bfd3f930b (patch) | |
| tree | 80b9c801d7f18afd85bb6449c8906d6d6594103a /ci/azure/linux_script | |
| parent | ee1b37040484637b2c8136adf8cc7da833beddfc (diff) | |
| download | zig-87aa052e2395ab3cab89b8afaaf6156bfd3f930b.tar.gz zig-87aa052e2395ab3cab89b8afaaf6156bfd3f930b.zip | |
ci: pass --override-lib-dir to emit std lib docs
Otherwise we get errors from conflicting std libs.
Diffstat (limited to 'ci/azure/linux_script')
| -rwxr-xr-x | ci/azure/linux_script | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ci/azure/linux_script b/ci/azure/linux_script index 935f5b30db..e96a16b41b 100755 --- a/ci/azure/linux_script +++ b/ci/azure/linux_script @@ -73,7 +73,10 @@ tidy -qe ../zig-cache/langref.html if [ "${BUILD_REASON}" != "PullRequest" ]; then # Produce the experimental std lib documentation. mkdir -p release/docs/std - release/bin/zig test ../lib/std/std.zig -femit-docs=release/docs/std -fno-emit-bin + release/bin/zig test ../lib/std/std.zig \ + --override-lib-dir ../lib \ + -femit-docs=release/docs/std \ + -fno-emit-bin mv ../LICENSE release/ mv ../zig-cache/langref.html release/docs/ |
