|
8 | 8 | "start": "react-native start", |
9 | 9 | "build:android": "react-native build-android --extra-params \"--no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a\"", |
10 | 10 | "build:ios": "react-native build-ios --mode Debug", |
11 | | - "pod": "(cd ios && bundle install && bundle exec pod install)", |
| 11 | + "pod": "bundle install && bundle exec pod install --project-directory=ios", |
| 12 | + "app:package:ios": "xcodebuild -workspace ios/MendixNativeExample.xcworkspace -scheme MendixNativeExample -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 17,OS=latest' -derivedDataPath ios/build build", |
| 13 | + "app:install:ios": "xcrun simctl install booted ios/build/Build/Products/Debug-iphonesimulator/MendixNativeExample.app", |
| 14 | + "app:package:android": "(cd android && ./gradlew assembleDebug --no-daemon)", |
| 15 | + "app:install:android": "adb install -r android/app/build/outputs/apk/debug/app-debug.apk", |
12 | 16 | "harness": "react-native-harness", |
13 | | - "harness:all": "yarn harness:android:full && yarn harness:ios:full", |
14 | | - "harness:ios": "react-native-harness --harnessRunner ios", |
15 | | - "harness:android:full": "yarn android:emulator:build && yarn android:emulator:install && yarn harness:android", |
16 | | - "harness:ios:full": "yarn ios:simulator:build && yarn ios:simulator:install && yarn harness:ios", |
17 | | - "harness:android": "react-native-harness --harnessRunner android", |
18 | | - "ios:simulator:build": "xcodebuild -workspace ios/MendixNativeExample.xcworkspace -scheme MendixNativeExample -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 17,OS=latest' -derivedDataPath ios/build build", |
19 | | - "ios:simulator:install": "xcrun simctl install booted ios/build/Build/Products/Debug-iphonesimulator/MendixNativeExample.app", |
20 | | - "android:emulator:build": "(cd android && ./gradlew assembleDebug --no-daemon --build-cache)", |
21 | | - "android:emulator:install": "adb install -r android/app/build/outputs/apk/debug/app-debug.apk" |
| 17 | + "harness:ios": "yarn harness --harnessRunner ios", |
| 18 | + "harness:android": "yarn harness --harnessRunner android", |
| 19 | + "harness:all": "yarn harness:ios && yarn harness:android", |
| 20 | + "harness:all:with:build": "yarn harness:ios:with:build && yarn harness:android:with:build", |
| 21 | + "harness:android:with:build": "yarn app:package:android && yarn app:install:android && yarn harness:android", |
| 22 | + "harness:ios:with:build": "yarn app:package:ios && yarn app:install:ios && yarn harness:ios" |
22 | 23 | }, |
23 | 24 | "dependencies": { |
24 | 25 | "@op-engineering/op-sqlite": "15.1.5", |
|
0 commit comments