mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-03-10 22:44:29 +00:00
Remove module benchmarks to save space (~9MB)
This commit is contained in:
parent
9197272632
commit
1024af0f48
@ -27,6 +27,9 @@ if [ $NODE_ENV == 'production' ]; then
|
||||
find . -type d -name 'test' -exec rm -rf '{}' \; 2> /dev/null || true
|
||||
find . -type d -name 'doc' -exec rm -rf '{}' \; 2> /dev/null || true
|
||||
find . -type d -name 'man' -exec rm -rf '{}' \; 2> /dev/null || true
|
||||
# And any benchmark results (ttyjs->socket.io->socket.io-client->active-x-obfuscator->zeparser has an 8MB benchmark.html)
|
||||
find . -type d -name 'benchmark*' -exec rm -rf '{}' \; 2> /dev/null || true
|
||||
find . -name 'benchmark*' -delete
|
||||
# And npm - we've finished with it
|
||||
find . -type d -name 'npm' -exec rm -rf '{}' \; 2> /dev/null || true
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user