Remove .c and .tar.* files that won't be needed at runtime.

This commit is contained in:
Pagan Gazzard 2014-08-07 21:47:36 +01:00 committed by Pablo Carranza Vélez
parent 43df63b46b
commit 67c5858ff1

View File

@ -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