refactor(build): clear tmp build directory
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
14694876dd
commit
de797f614b
1 changed files with 4 additions and 0 deletions
|
|
@ -59,6 +59,10 @@ function build_api(){
|
|||
[[ $1 == "ee" ]] && {
|
||||
destination="_backend_ee"
|
||||
}
|
||||
[[ -d ../${destination} ]] && {
|
||||
echo "Removing previous build cache"
|
||||
rm -rf ../${destination}
|
||||
}
|
||||
cp -R ../backend ../${destination}
|
||||
cd ../${destination}
|
||||
# Copy enterprise code
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue