Skip to content

Commit

Permalink
Add example usage of podspec declarations
Browse files Browse the repository at this point in the history
When trying to find more information about new `<podspec>` tag deprecating `<framework type="podspec" />` I found this example usage.
However it doesn't specify how to use declarations so I've copied example from [specs fixture](https://github.com/apache/cordova-common/blob/rel/3.1.0/spec/fixtures/plugins/org.test.plugins.withcocoapods/plugin.xml#L37-L47)
  • Loading branch information
piotr-cz authored and dpogue committed Apr 14, 2019
1 parent a5cd232 commit 9cd117e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/PluginInfo/PluginInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,10 @@ function PluginInfo (dirname) {
// <source url="https://github.com/brightcove/BrightcoveSpecs.git" />
// <source url="https://github.com/CocoaPods/Specs.git"/>
// </config>
// <pods>
// <pod name="PromiseKit" />
// <pod name="Foobar1" spec="~> 2.0.0" />
// <pod name="Foobar2" git="git@github.com:hoge/foobar1.git" />
// <pods use-frameworks="true" inhibit-all-warnings="true">
// <pod name="PromiseKit" />
// <pod name="Foobar1" spec="~> 2.0.0" />
// <pod name="Foobar2" git="git@github.com:hoge/foobar1.git" />
// <pod name="Foobar3" git="git@github.com:hoge/foobar2.git" branch="next" />
// <pod name="Foobar4" swift-version="4.1" />
// <pod name="Foobar5" swift-version="3.0" />
Expand Down

0 comments on commit 9cd117e

Please sign in to comment.