Skip to content

Commit 3246c74

Browse files
Cleanup out directory when building
1 parent 39e0550 commit 3246c74

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

build_release_linux.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ echo "2) make sure you've incremented the version number in package.json AND pac
1414
read yes
1515

1616
echo "3) Cleaning up old build..."
17-
rm -rf .webpack/
18-
rm -rf dist/
17+
rm -rf .webpack
18+
rm -rf dist
19+
rm -rf out
1920
# Don't include Windows VNC binaries on Linux
20-
rm -rf vnc-software/uvnc-windows/
21+
rm -rf vnc-software/uvnc-windows
2122

2223
# If you run it in dev mode first with:
2324
# npm run start

build_release_windows.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ echo "2) make sure you've incremented the version number in package.json AND pac
1717
read yes
1818

1919
echo "3) Cleaning up old build..."
20-
rm -rf .webpack/
21-
rm -rf dist/
20+
rm -rf .webpack
21+
rm -rf dist
22+
rm -rf out
2223
# dont include linux binaries in Windows build
23-
rm -rf vnc-software/tigervnc-linux-x86_64/
24+
rm -rf vnc-software/tigervnc-linux-x86_64
2425

2526
# first make sure the correct files are packaged with electron-forge:
2627
echo "4) Packaging with: electron-forge package"

0 commit comments

Comments
 (0)