Skip to content

Commit 1379e44

Browse files
committed
chore: update build script
1 parent b86f421 commit 1379e44

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

scripts/build.sh

+3-13
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22

33
set -e
44

5-
IMAGE_NAME=avo-dev
6-
WORKSPACE_DIR=$1 BUMP=${1:-'patch'}
7-
TAG=$2
8-
OS=$(node -r os -e 'console.log(os.platform())')
9-
10-
cd $WORKSPACE_DIR
11-
12-
docker build -t $IMAGE_NAME -f docker/Dockerfile .
13-
14-
CID=$(docker create $IMAGE_NAME)
15-
16-
docker cp ${CID}:/avo/pkg/. $WORKSPACE_DIR/pkg
17-
docker rm ${CID}
5+
rm -rf public/avo-packs
6+
bin/webpack
7+
gem build avo --output pkg/avo.gem

0 commit comments

Comments
 (0)