mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 22:34:18 +08:00
Remove .crates.toml and .crates2.json
This commit is contained in:
parent
e41ec81f19
commit
6d95f7358e
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user