Skip to content

Commit 8ac50d1

Browse files
committed
fix: bugfix build script
1 parent 50a54b2 commit 8ac50d1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

build.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
#!/bin/bash
22
set -eux -o pipefail
33

4-
[ ! -d dist ] || rm -rf dist
5-
4+
rm -rf dist
65
mkdir dist
7-
86
cp -r webapp_deploy dist/
7+
98
if [ -e dist/webapp_deploy/__pycache__ ]; then
10-
rm dist/webapp_deploy/__pycache__ -rf
9+
rm -rf dist/webapp_deploy/__pycache__
1110
fi
1211

1312
# We currently do not install requirements.txt as the

0 commit comments

Comments
 (0)