Remove .crates.toml and .crates2.json

This commit is contained in:
Jeremy Soller 2022-03-17 19:56:47 -06:00
parent e41ec81f19
commit 6d95f7358e
No known key found for this signature in database
GPG Key ID: 87F211AF2BE4C2FE

View File

@ -499,6 +499,15 @@ if [ -d "${COOKBOOK_STAGE}/lib" ]
then
find "${COOKBOOK_STAGE}/lib" -type f -name '*.la' -exec rm -fv {} ';'
fi
# Remove cargo install files
for file in .crates.toml .crates2.json
do
if [ -f "${COOKBOOK_STAGE}/${file}" ]
then
rm -v "${COOKBOOK_STAGE}/${file}"
fi
done
"#;
//TODO: better integration with redoxer (library instead of binary)