mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-21 18:06:47 +00:00
Properly delete the coffee-script source files.
This commit is contained in:
parent
51bfb69354
commit
e3188065d7
@ -1,5 +1,9 @@
|
|||||||
if [ $NODE_ENV == 'production' ]; then
|
if [ $NODE_ENV == 'production' ]; then
|
||||||
node ./node_modules/coffee-script/bin/coffee -c ./src
|
node ./node_modules/coffee-script/bin/coffee -c ./src
|
||||||
rm -rf /root/.ssh/* /build/app/deploy_key /app/deploy_key /build/app/Makefile /app/Makefile /app/src/*.coffee
|
# We don't need coffee-script at runtime
|
||||||
npm uninstall coffee-script
|
npm uninstall coffee-script
|
||||||
|
# Remove deploy key
|
||||||
|
rm -rf /root/.ssh/* deploy_key
|
||||||
|
# Remove unnecessary source files
|
||||||
|
rm -rf Makefile src/*.coffee
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user