Skip to content

Commit

Permalink
fix: fix ios-framework build
Browse files Browse the repository at this point in the history
  • Loading branch information
adityastic committed Jan 3, 2020
1 parent c74f5c4 commit 1afe428
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
script:
- ./gradlew spotlessCheck
- ./gradlew build --stacktrace
- ./gradlew :BadgeMagicModule:packForXcode --stacktrace

deploy:
- provider: script
Expand Down
5 changes: 3 additions & 2 deletions scripts/upload-ios-framework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ git config --global user.email "[email protected]"
git clone --quiet --branch=ios-framework https://fossasia:$GITHUB_KEY@github.com/fossasia/badge-magic-android ios-framework > /dev/null
cd ios-framework

rm -rf *
cp -r ../BadgeMagicModule/build/xcode-frameworks/BadgeMagicModule.framework .
rm -rf $TRAVIS_BRANCH

mkdir -p $TRAVIS_BRANCH && cp -r ../BadgeMagicModule/build/xcode-frameworks/BadgeMagicModule.framework $TRAVIS_BRANCH/.

git checkout --orphan temporary

Expand Down

0 comments on commit 1afe428

Please sign in to comment.