Skip to content

Commit

Permalink
Perform clean by deleting build directory instead (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuganzy authored and nlutsenko committed Sep 26, 2018
1 parent 93d8107 commit 1b247a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/build_framework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ progress_message Building Framework.
# -----------------------------------------------------------------------------
# Compile binaries
#
test -d "$BOLTS_BUILD" \
|| mkdir -p "$BOLTS_BUILD" \
rm -rf "$BOLTS_BUILD"
mkdir -p "$BOLTS_BUILD" \
|| die "Could not create directory $BOLTS_BUILD"

test -d "$BOLTS_IOS_BUILD" \
Expand Down Expand Up @@ -120,7 +120,7 @@ function xcode_build_target() {
-configuration "${2}" \
SYMROOT="$BOLTS_BUILD" \
CURRENT_PROJECT_VERSION="$BOLTS_VERSION_FULL" \
clean build \
build \
|| die "Xcode build failed for platform: ${1}."
}

Expand Down

0 comments on commit 1b247a7

Please sign in to comment.