Skip to content

Commit b560834

Browse files
committed
move podspec to root level
1 parent 58fc21a commit b560834

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

ios/ReactNativeBrownfield.podspec renamed to ReactNativeBrownfield.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require 'json'
22

3-
package = JSON.parse(File.read(File.join(__dir__, '../package.json')))
3+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
44

55
Pod::Spec.new do |spec|
66
spec.name = "ReactNativeBrownfield"
@@ -14,7 +14,7 @@ Pod::Spec.new do |spec|
1414

1515
# s.source = { :git => "[email protected]/michalchudziak/react-native-brownfield.git", :tag => "v#{s.version}" }
1616
spec.source = { :path => "." }
17-
spec.source_files = "**/*.{h,m}"
17+
spec.source_files = "ios/**/*.{h,m}"
1818

1919
spec.dependency 'React'
2020
end

example/objc/Podfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,4 @@ target 'NativeExample' do
2929

3030
use_native_modules!('../..')
3131

32-
pod 'ReactNativeBrownfield', :path => '../../ios'
33-
3432
end

example/objc/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ DEPENDENCIES:
109109
- React-RCTText (from `../../node_modules/react-native/Libraries/Text`)
110110
- React-RCTVibration (from `../../node_modules/react-native/Libraries/Vibration`)
111111
- React-RCTWebSocket (from `../../node_modules/react-native/Libraries/WebSocket`)
112-
- ReactNativeBrownfield (from `../../ios`)
112+
- ReactNativeBrownfield (from `../../`)
113113
- RNGestureHandler (from `../../node_modules/react-native-gesture-handler`)
114114
- yoga (from `../../node_modules/react-native/ReactCommon/yoga`)
115115

@@ -161,7 +161,7 @@ EXTERNAL SOURCES:
161161
React-RCTWebSocket:
162162
:path: "../../node_modules/react-native/Libraries/WebSocket"
163163
ReactNativeBrownfield:
164-
:path: "../../ios"
164+
:path: "../../"
165165
RNGestureHandler:
166166
:path: "../../node_modules/react-native-gesture-handler"
167167
yoga:
@@ -190,10 +190,10 @@ SPEC CHECKSUMS:
190190
React-RCTText: 685fca2e13b024271048e7e247ef24476f28a41e
191191
React-RCTVibration: 4ee1cf208ab17a50fafb1c16ffe28fe594a64e4f
192192
React-RCTWebSocket: fca087d583724aa0e5fef7d911f0f2a28d0f2736
193-
ReactNativeBrownfield: 9ea6e9bee9cbe4389598631670e815997024ff2a
193+
ReactNativeBrownfield: af3caba0d9116aaec5964348258636293fa94f7c
194194
RNGestureHandler: 5329a942fce3d41c68b84c2c2276ce06a696d8b0
195195
yoga: 616fde658be980aa60a2158835170f3f9c2d04b4
196196

197-
PODFILE CHECKSUM: 9eb067650fd7e3b5b51f03a2fce8acb6f2d9b5f3
197+
PODFILE CHECKSUM: ba373afec6fc96ea314dd755df3ac5ef81b30999
198198

199199
COCOAPODS: 1.7.3

0 commit comments

Comments
 (0)