commit ec8a0c73402b5cd670f7c1f3e8fae119b8864ac9
parent d73cfefed5e45fec91a422cd87054611ff711b30
Author: bfredl <bjorn.linse@gmail.com>
Date: Fri, 22 Aug 2025 19:10:43 +0200
fix(build): workaround errors in zig build due to stale cache
addDirectoryArg with a source dir is not enough to depend on changes
to invidiual files. as a workaround, mark this step as having
side-effects (always being run) for now.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/runtime/gen_runtime.zig b/runtime/gen_runtime.zig
@@ -31,6 +31,7 @@ pub fn nvim_gen_runtime(
const file = gen_step.addOutputFileArg("tags");
_ = gen_runtime.addCopyFile(file, "doc/tags");
gen_step.addDirectoryArg(b.path("runtime/doc"));
+ gen_step.has_side_effects = true; // workaround: missing detection of input changes
}
return gen_runtime;