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

Add hdiffpatch subspec

This commit is contained in:
sunnylqm 2021-04-09 19:37:56 +08:00
parent 4226865970
commit 50d98a941c
3 changed files with 12 additions and 2 deletions

View File

@ -266,11 +266,15 @@ PODS:
- react-native-update (5.11.0-beta2):
- React
- react-native-update/BSDiff (= 5.11.0-beta2)
- react-native-update/HDiffPatch (= 5.11.0-beta2)
- react-native-update/RCTPushy (= 5.11.0-beta2)
- SSZipArchive
- react-native-update/BSDiff (5.11.0-beta2):
- React
- SSZipArchive
- react-native-update/HDiffPatch (5.11.0-beta2):
- React
- SSZipArchive
- react-native-update/RCTPushy (5.11.0-beta2):
- React
- SSZipArchive
@ -503,7 +507,7 @@ SPEC CHECKSUMS:
React-jsi: 74341196d9547cbcbcfa4b3bbbf03af56431d5a1
React-jsiexecutor: 06a9c77b56902ae7ffcdd7a4905f664adc5d237b
React-jsinspector: 0ae35a37b20d5e031eb020a69cc5afdbd6406301
react-native-update: 57368bcb714d347147b87e520f596ca44ab1de52
react-native-update: db9e97cda2a5158d7b526d930676b32fbb053f10
react-native-webview: 4e96d493f9f90ba4f03b28933f30b2964df07e39
React-perflogger: 9c547d8f06b9bf00cb447f2b75e8d7f19b7e02af
React-RCTActionSheet: 3080b6e12e0e1a5b313c8c0050699b5c794a1b11

View File

@ -4,8 +4,9 @@
"description": "react-native hot update",
"main": "lib/index.js",
"scripts": {
"submodule": "git submodule update --init --recursive",
"test": "echo \"Error: no test specified\" && exit 1",
"build-lib": "git submodule update --init --recursive && $ANDROID_HOME/ndk/20.1.5948944/ndk-build NDK_PROJECT_PATH=android APP_BUILD_SCRIPT=android/jni/Android.mk NDK_LIBS_OUT=android/lib"
"build-lib": "yarn submodule && $ANDROID_HOME/ndk/20.1.5948944/ndk-build NDK_PROJECT_PATH=android APP_BUILD_SCRIPT=android/jni/Android.mk NDK_LIBS_OUT=android/lib"
},
"repository": {
"type": "git",

View File

@ -32,4 +32,9 @@ Pod::Spec.new do |s|
ss.source_files = 'ios/RCTPushy/BSDiff/**/*.{h,m,c}'
ss.private_header_files = 'ios/RCTPushy/BSDiff/**/*.h'
end
s.subspec 'HDiffPatch' do |ss|
ss.source_files = 'ios/RCTPushy/HDiffPatch/**/*.{h,m,c}'
ss.private_header_files = 'ios/RCTPushy/HDiffPatch/**/*.h'
end
end