remove prepare_command in podspec file

Summary: since 0.13.2 , prepare_command in podspec would download the dependencies of react-native again when you install react-native via cocoapods with local path.
Closes https://github.com/facebook/react-native/pull/4291

Reviewed By: svcscm

Differential Revision: D2685452

Pulled By: nicklockwood

fb-gh-sync-id: b1c1a0f45897d3eb45be99db3633c899c35feb8e
This commit is contained in:
panjianjun 2015-11-23 01:18:46 -08:00 коммит произвёл facebook-github-bot-9
Родитель a97dbe0394
Коммит 54470021ca
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -22,7 +22,6 @@ Pod::Spec.new do |s|
s.default_subspec = 'Core' s.default_subspec = 'Core'
s.requires_arc = true s.requires_arc = true
s.platform = :ios, "7.0" s.platform = :ios, "7.0"
s.prepare_command = 'npm install --production'
s.preserve_paths = "cli.js", "Libraries/**/*.js", "lint", "linter.js", "node_modules", "package.json", "packager", "PATENTS", "react-native-cli" s.preserve_paths = "cli.js", "Libraries/**/*.js", "lint", "linter.js", "node_modules", "package.json", "packager", "PATENTS", "react-native-cli"
s.subspec 'Core' do |ss| s.subspec 'Core' do |ss|