mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +08:00
build(build-server): use a single "rm" command
This commit is contained in:
parent
19abd14058
commit
e0413b528f
@ -54,11 +54,10 @@ mv node-v${NODE_VERSION}-linux-${NODE_FILENAME} node
|
||||
cd ..
|
||||
|
||||
|
||||
rm -r $BUILD_DIR/node/lib/node_modules/npm
|
||||
rm -r $BUILD_DIR/node/include/node
|
||||
|
||||
rm -r $BUILD_DIR/node_modules/electron*
|
||||
rm -r $BUILD_DIR/electron*.js
|
||||
rm -r $BUILD_DIR/node/lib/node_modules/npm \
|
||||
$BUILD_DIR/node/include/node \
|
||||
$BUILD_DIR/node_modules/electron* \
|
||||
$BUILD_DIR/electron*.js
|
||||
|
||||
printf "#!/bin/sh\n./node/bin/node src/main" > $BUILD_DIR/trilium.sh
|
||||
chmod 755 $BUILD_DIR/trilium.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user