diff --git a/packages/react-native-uniffi-russh/.gitignore b/packages/react-native-uniffi-russh/.gitignore index cdaab64..98cd2d7 100644 --- a/packages/react-native-uniffi-russh/.gitignore +++ b/packages/react-native-uniffi-russh/.gitignore @@ -86,11 +86,11 @@ android/generated nitrogen/ # From uniffi-bindgen-react-native -rust_modules/ +# rust_modules/ *.a -android/ -ios/ -cpp/ -src/ +./android/ +./ios/ +./cpp/ +./src/ *.xcframework *.podspec \ No newline at end of file diff --git a/packages/react-native-uniffi-russh/package.json b/packages/react-native-uniffi-russh/package.json index 075e89a..c30b160 100644 --- a/packages/react-native-uniffi-russh/package.json +++ b/packages/react-native-uniffi-russh/package.json @@ -35,13 +35,12 @@ "ubrn:ios": "ubrn build ios --and-generate", "ubrn:android": "ubrn build android --and-generate --release", "ubrn:web": "ubrn build web", - "ubrn:checkout": "ubrn checkout", "ubrn:clean": "rm -rfv cpp/ android/CMakeLists.txt android/src/main/java android/*.cpp ios/ src/Native* src/index.*ts* src/generated/", "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", - "prepare": "pnpm run ubrn:checkout && pnpm run ubrn:ios && bob build", + "x:prepare": "pnpm run ubrn:ios && bob build", "release": "release-it --only-version" }, "keywords": [ diff --git a/packages/react-native-uniffi-russh/ubrn.config.yaml b/packages/react-native-uniffi-russh/ubrn.config.yaml index e33ac4b..bc38bbd 100644 --- a/packages/react-native-uniffi-russh/ubrn.config.yaml +++ b/packages/react-native-uniffi-russh/ubrn.config.yaml @@ -1,4 +1,7 @@ +# rust: +# repo: https://github.com/jhugman/uniffi-starter.git +# branch: jhugman/bump-uniffi-to-0.29 +# manifestPath: rust/foobar/Cargo.toml rust: - repo: https://github.com/jhugman/uniffi-starter.git - branch: jhugman/bump-uniffi-to-0.29 + directory: ./rust_modules/uniffi-starter manifestPath: rust/foobar/Cargo.toml