kanidm is correctly putting completions inside the target directory (OUT_DIR), as build.rs shouldn't modify any file outside this directory:
completions:
bash:
- target/release/build/completions/kanidmd.bash
- target/release/build/completions/kanidm_badlist_preprocess.bash
- target/release/build/completions/kanidm.bash
rinstall should automatically search for this files inside the OUT_DIR. I think it could never happen that the same file is inside both the project target directory and the OUT_DIR.
kanidm is correctly putting completions inside the target directory (
OUT_DIR), asbuild.rsshouldn't modify any file outside this directory:rinstall should automatically search for this files inside the
OUT_DIR. I think it could never happen that the same file is inside both the project target directory and theOUT_DIR.