Skip to content

Commit

Permalink
🔧 moving podspec to root, allows easier module usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rastapasta committed Apr 18, 2017
1 parent 13166be commit a719d4c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Afterwards add following lines to your Podfile:

```sh
pod 'React', :path => '../node_modules/react-native'
pod 'RNGLModelView', :path => '../node_modules/react-native-gl-model-view/ios'
pod 'RNGLModelView', :path => '../node_modules/react-native-gl-model-view'
```

## Usage
Expand Down Expand Up @@ -143,9 +143,8 @@ $ react-native run-ios

## Backlog

[ ] Bridge to [GLModel.modelWithData](https://github.com/nicklockwood/GLView/blob/master/GLView/Models/GLModel.m#L424) to allow flexbile model sources
[ ] Android bridge via [jPCT 3D engine](http://www.jpct.net/jpct-ae/)
[ ] Animated example in README
* Bridge to [GLModel.modelWithData](https://github.com/nicklockwood/GLView/blob/master/GLView/Models/GLModel.m#L424) to allow flexbile model sources
* Android bridge via [jPCT 3D engine](http://www.jpct.net/jpct-ae/)

## License

Expand Down
4 changes: 2 additions & 2 deletions ios/RNGLModelView.podspec → RNGLModelView.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = "RNGLModelView"
s.version = "1.0.0"
s.version = "1.0.1"
s.summary = "React Native native bridge to GLView - display and animate Wavefront .OBJ 3D models"
s.description = <<-DESC
react-native-gl-model-view
Expand All @@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.author = { "author" => "Michael Straßburger <[email protected]>" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/rastapasta/react-native-gl-model-view.git", :tag => "master" }
s.source_files = "**/*.{h,m}"
s.source_files = "ios/*.{h,m}"
s.requires_arc = true

s.dependency "React"
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ target 'example' do
'RCTVibration',
'RCTWebSocket',
]
pod "RNGLModelView", :path => "../../ios"
pod "RNGLModelView", :path => "../.."

# use_frameworks!
# [
Expand Down

0 comments on commit a719d4c

Please sign in to comment.