Skip to content

Commit

Permalink
build.sh : 清除出错忽略
Browse files Browse the repository at this point in the history
  • Loading branch information
garywill committed Mar 22, 2024
1 parent 7bd2808 commit 3df3150
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/bin/bash


rm -rf dist-vccrlib/* || exit 1
mkdir -p dist-vccrlib
rm -rf dist-vccrlib/*
( echo -e "\n\nGoing to build 'vccrlib'...\n\n" ; env buildtarget='vccrlib' npx webpack ) || exit 1

rm -rf dist-webtool/* || exit 1
mkdir -p dist-webtool
rm -rf dist-webtool/*
( echo -e "\n\nGoing to build 'webtool'...\n\n" ; env buildtarget='webtool' npx webpack ) || exit 1

0 comments on commit 3df3150

Please sign in to comment.