Skip to content

Commit

Permalink
Use index.js as entry file
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanlntn committed Oct 17, 2017
1 parent 308e108 commit 0a7f520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/ci
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ check_builds()
test_command npm run lint

echo '~ Build ios'
test_command react-native bundle --entry-file index.ios.js --bundle-output test.ios.js --dev false --platform ios --assets-dest iosAssets
test_command react-native bundle --entry-file index.js --bundle-output test.ios.js --dev false --platform ios --assets-dest iosAssets
if [ ! -d "iosAssets" ]; then
echo 'iosAssets folder did not generate'
SOMETHING_FAILED=1
fi

echo '~ Build android'
test_command react-native bundle --entry-file index.android.js --bundle-output test.android.js --dev false --platform android --assets-dest androidAssets
test_command react-native bundle --entry-file index.js --bundle-output test.android.js --dev false --platform android --assets-dest androidAssets
if [ ! -d "androidAssets" ]; then
echo 'androidAssets folder did not generate'
SOMETHING_FAILED=1
Expand Down

0 comments on commit 0a7f520

Please sign in to comment.