Commit e9ccf092 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Remove Python caches and NodeJS node_modules after build

parent 0ff356ba
...@@ -48,7 +48,10 @@ all: ceph-config ...@@ -48,7 +48,10 @@ all: ceph-config
find / -name *.css.map -exec rm -f '{}' ';' find / -name *.css.map -exec rm -f '{}' ';'
find / -depth -name .cache -type d -exec rm -rf '{}' ';' find / -depth -name .cache -type d -exec rm -rf '{}' ';'
find / -depth -name .pytest_cache -type d -exec rm -rf '{}' ';' find / -depth -name .pytest_cache -type d -exec rm -rf '{}' ';'
find / -depth -name .mypy_cache -type d -exec rm -rf '{}' ';'
find / -depth -name __pycache__ -type d -exec rm -rf '{}' ';'
find / -depth -name .tox -type d -exec rm -rf '{}' ';' find / -depth -name .tox -type d -exec rm -rf '{}' ';'
find / -depth -name node_modules -type d -exec rm -rf '{}' ';'
mv -v /lib/ceph/* /usr/lib/ceph mv -v /lib/ceph/* /usr/lib/ceph
rm -rf /lib/ceph rm -rf /lib/ceph
install -v -Dm755 -d /etc/sysconfig install -v -Dm755 -d /etc/sysconfig
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment