mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
ci: pass --override-lib-dir to emit std lib docs
Otherwise we get errors from conflicting std libs.
This commit is contained in:
parent
ee1b370404
commit
87aa052e23
@ -73,7 +73,10 @@ tidy -qe ../zig-cache/langref.html
|
|||||||
if [ "${BUILD_REASON}" != "PullRequest" ]; then
|
if [ "${BUILD_REASON}" != "PullRequest" ]; then
|
||||||
# Produce the experimental std lib documentation.
|
# Produce the experimental std lib documentation.
|
||||||
mkdir -p release/docs/std
|
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 ../LICENSE release/
|
||||||
mv ../zig-cache/langref.html release/docs/
|
mv ../zig-cache/langref.html release/docs/
|
||||||
|
Loading…
Reference in New Issue
Block a user