mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-31 16:35:23 +00:00
Remove .c and .tar.* files that won't be needed at runtime.
This commit is contained in:
parent
43df63b46b
commit
67c5858ff1
@ -11,4 +11,8 @@ if [ $NODE_ENV == 'production' ]; then
|
||||
rm -rf Makefile src/*.coffee
|
||||
# Remove the git repo info
|
||||
rm -rf .git
|
||||
# Remove the c files we no longer need (the sqlite3 node module has a massive ~5M c file)
|
||||
find . -name '*.c' -delete
|
||||
# And the tar files (sqlite3 module again)
|
||||
find . -name '*.tar.*' -delete
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user