Skip to content

Commit

Permalink
fix: android build only
Browse files Browse the repository at this point in the history
  • Loading branch information
matinzd committed Sep 16, 2023
1 parent 56a0674 commit b6d6442
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:
- name: Build Paper Android Example
run: |
yarn paper:android
yarn paper:build:android
1 change: 1 addition & 0 deletions apps/fabric/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"android": "react-native run-android --active-arch-only",
"build:android": "cd android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
"ios": "bundle install && RCT_NEW_ARCH_ENABLED=1 pod install --project-directory=ios && react-native run-ios",
"start": "react-native start",
"upgrade": "react-native upgrade"
Expand Down
1 change: 1 addition & 0 deletions apps/paper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"reset": "watchman watch-del-all; rm -rf /tmp/metro-bundler-cache-*; rm -rf ./android/build; rm -rf ./android/.gradle; rm -rf ./android/app/build; rm -rf ~/Library/Developer/Xcode/DerivedData; rm -rf /tmp/haste-map-react-native-packager-*; rm -rf ./ios/build; jest --clearCache; cd ios; pod install --repo-update; cd ..; npx jetify; cd android; ./gradlew clean; cd ..;",
"android": "react-native run-android",
"build:android": "cd android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
"ios": "bundle install && pod install --project-directory=ios && react-native run-ios",
"start": "react-native start",
"test": "jest",
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
},
"scripts": {
"setup": "yarn workspace lottie-react-native build",
"fabric:android": "yarn workspace fabric-example android",
"fabric:start:android": "yarn workspace fabric-example android",
"fabric:build:android": "yarn workspace fabric-example build:android",
"fabric:ios": "yarn workspace fabric-example ios",
"paper:android": "yarn workspace paper-example android",
"paper:start:android": "yarn workspace paper-example android",
"paper:build:android": "yarn workspace paper-example build:android",
"paper:ios": "yarn workspace paper-example ios",
"lint:swift": "yarn workspace lottie-react-native lint:swift",
"docs:clean": "rimraf _book",
Expand Down

0 comments on commit b6d6442

Please sign in to comment.