Permalink
Browse files

Use --searchpath in createmobilespec.sh and updaten dependencies-plug…

…in accordingly.
  • Loading branch information...
1 parent ead88ca commit 5c3a6179a6a5699a2528b23d5f0e2b87ccfc67e0 @agrieve agrieve committed Jan 15, 2014
Showing with 20 additions and 20 deletions.
  1. +1 −1 createmobilespec.sh
  2. +19 −19 dependencies-plugin/plugin.xml
View
@@ -65,7 +65,7 @@ echo '{
set -x
../cordova-cli/bin/cordova platform add ios android
-../cordova-cli/bin/cordova plugin add ../cordova-mobile-spec/dependencies-plugin
+../cordova-cli/bin/cordova plugin add ../cordova-mobile-spec/dependencies-plugin --searchpath "$REPO_PARENT"
rm -rf platforms/ios/CordovaLib
../cordova-ios/bin/update_cordova_subproject platforms/ios/mobilespec.xcodeproj
../cordova-cli/bin/cordova prepare
@@ -22,29 +22,29 @@
id="org.cordova.mobile-spec-dependencies"
version="1.0.0">
<engines>
- <engine name="cordova" version=">=2.7.0" />
+ <engine name="cordova" version=">=3.3.0" />
</engines>
<name>Mobile-Spec plugin to quickly pull in all cordova plugins</name>
- <dependency id="org.apache.cordova.battery-status" url="." subdir="../cordova-plugin-battery-status" />
- <dependency id="org.apache.cordova.camera" url="." subdir="../cordova-plugin-camera" />
- <dependency id="org.apache.cordova.console" url="." subdir="../cordova-plugin-console" />
- <dependency id="org.apache.cordova.contacts" url="." subdir="../cordova-plugin-contacts" />
- <dependency id="org.apache.cordova.device" url="." subdir="../cordova-plugin-device" />
- <dependency id="org.apache.cordova.device-motion" url="." subdir="../cordova-plugin-device-motion" />
- <dependency id="org.apache.cordova.device-orientation" url="." subdir="../cordova-plugin-device-orientation" />
- <dependency id="org.apache.cordova.dialogs" url="." subdir="../cordova-plugin-dialogs" />
- <dependency id="org.apache.cordova.file" url="." subdir="../cordova-plugin-file" />
- <dependency id="org.apache.cordova.file-transfer" url="." subdir="../cordova-plugin-file-transfer" />
- <dependency id="org.apache.cordova.geolocation" url="." subdir="../cordova-plugin-geolocation" />
- <dependency id="org.apache.cordova.globalization" url="." subdir="../cordova-plugin-globalization" />
- <dependency id="org.apache.cordova.inappbrowser" url="." subdir="../cordova-plugin-inappbrowser" />
- <dependency id="org.apache.cordova.media" url="." subdir="../cordova-plugin-media" />
- <dependency id="org.apache.cordova.media-capture" url="." subdir="../cordova-plugin-media-capture" />
- <dependency id="org.apache.cordova.network-information" url="." subdir="../cordova-plugin-network-information" />
- <dependency id="org.apache.cordova.splashscreen" url="." subdir="../cordova-plugin-splashscreen" />
- <dependency id="org.apache.cordova.vibration" url="." subdir="../cordova-plugin-vibration" />
+ <dependency id="org.apache.cordova.battery-status"/>
+ <dependency id="org.apache.cordova.camera"/>
+ <dependency id="org.apache.cordova.console"/>
+ <dependency id="org.apache.cordova.contacts"/>
+ <dependency id="org.apache.cordova.device"/>
+ <dependency id="org.apache.cordova.device-motion"/>
+ <dependency id="org.apache.cordova.device-orientation"/>
+ <dependency id="org.apache.cordova.dialogs"/>
+ <dependency id="org.apache.cordova.file"/>
+ <dependency id="org.apache.cordova.file-transfer"/>
+ <dependency id="org.apache.cordova.geolocation"/>
+ <dependency id="org.apache.cordova.globalization"/>
+ <dependency id="org.apache.cordova.inappbrowser"/>
+ <dependency id="org.apache.cordova.media"/>
+ <dependency id="org.apache.cordova.media-capture"/>
+ <dependency id="org.apache.cordova.network-information"/>
+ <dependency id="org.apache.cordova.splashscreen"/>
+ <dependency id="org.apache.cordova.vibration"/>
<dependency id="org.apache.cordova.test.whitelist" url="." subdir="cordova-plugin-whitelist" />
<dependency id="org.apache.cordova.test.echo" url="." subdir="cordova-plugin-echo" />
</plugin>

0 comments on commit 5c3a617

Please sign in to comment.