Ensure that local temp go build doesn't get reused in next build

This commit is contained in:
Pedro Pombeiro 2018-05-08 19:06:45 +02:00 committed by Pedro Pombeiro
parent 6e34ede299
commit 3af05bcb6c
1 changed files with 10 additions and 6 deletions

View File

@ -54,16 +54,20 @@ release-ios: prod-build-ios ##@build build release for iOS release
prod-build:
lein prod-build
prod-build-android:
rm ./modules/react-native-status/android/libs/status-im/status-go/local/status-go-local.aar 2> /dev/null || true
lein prod-build-android
prod-build-ios:
rm -r ./modules/react-native-status/ios/RCTStatus/Statusgo.framework/ 2> /dev/null || true
lein prod-build-ios
full-prod-build: ##@build build prod for both Android and iOS
./scripts/bundle-status-go.sh ios
./scripts/bundle-status-go.sh android
$(MAKE) prod-build
prod-build-android:
lein prod-build-android
prod-build-ios:
lein prod-build-ios
rm -r ./modules/react-native-status/ios/RCTStatus/Statusgo.framework/ 2> /dev/null || true
rm ./modules/react-native-status/android/libs/status-im/status-go/local/status-go-local.aar 2> /dev/null
#----------------
# Dev builds