1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

feat: project init

This commit is contained in:
steven 2023-03-16 15:40:10 +08:00
parent 76e5c6c59b
commit f0c52b0acd
2 changed files with 3 additions and 5 deletions

View File

@ -215,4 +215,4 @@ jobs:
script: | script: |
$ANDROID_HOME/platform-tools/adb devices $ANDROID_HOME/platform-tools/adb devices
nohup sh -c "$ANDROID_HOME/platform-tools/adb logcat '*:D' > adb-log.txt" & nohup sh -c "$ANDROID_HOME/platform-tools/adb logcat '*:D' > adb-log.txt" &
yarn test:android-release sudo yarn test:android-release

View File

@ -21,14 +21,12 @@ module.exports = {
type: 'ios.app', type: 'ios.app',
binaryPath: binaryPath:
'ios/build/Build/Products/Release-iphonesimulator/testHotUpdate.app', 'ios/build/Build/Products/Release-iphonesimulator/testHotUpdate.app',
build: "build": "export RCT_NO_LAUNCH_PACKAGER=true && set -o pipefail | xcodebuild CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace ios/testHotUpdate.xcworkspace -scheme testHotUpdate -configuration Release -sdk iphonesimulator -derivedDataPath ios/build | xcbeautify",
'export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/testHotUpdate.xcworkspace -UseNewBuildSystem=NO -scheme testHotUpdate -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet',
}, },
'android.release': { 'android.release': {
type: 'android.apk', type: 'android.apk',
binaryPath: 'android/app/build/outputs/apk/release/app-release.apk', binaryPath: 'android/app/build/outputs/apk/release/app-release.apk',
build: build: "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
'cd android ; ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release ; cd -',
}, },
}, },
devices: { devices: {