You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/01/07 16:17:06 UTC

spec commit: Use the new --link flag in createmobilespec.sh

Updated Branches:
  refs/heads/master 9c7726b1d -> bda329756


Use the new --link flag in createmobilespec.sh


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/bda32975
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/bda32975
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/bda32975

Branch: refs/heads/master
Commit: bda32975617f603e5cb9bcf95640cf16431ded8f
Parents: 9c7726b
Author: Andrew Grieve <ag...@chromium.org>
Authored: Tue Jan 7 10:16:45 2014 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Tue Jan 7 10:16:45 2014 -0500

----------------------------------------------------------------------
 createmobilespec.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/bda32975/createmobilespec.sh
----------------------------------------------------------------------
diff --git a/createmobilespec.sh b/createmobilespec.sh
index dbcc92e..0e9104d 100755
--- a/createmobilespec.sh
+++ b/createmobilespec.sh
@@ -43,7 +43,7 @@ echo "  ./cordova-coho/coho repo-update -r auto"
 REPO_PARENT="$PWD"
 set -e
 
-./cordova-cli/bin/cordova create mobilespec org.apache.mobilespec mobilespec
+./cordova-cli/bin/cordova create mobilespec org.apache.mobilespec mobilespec --link cordova-mobile-spec
 ( cd cordova-js; grunt )
 cd mobilespec
 echo '{
@@ -66,8 +66,6 @@ echo '{
 set -x
 ../cordova-cli/bin/cordova platform add ios android
 ../cordova-cli/bin/cordova plugin add ../cordova-mobile-spec/dependencies-plugin
-rm -r www
-ln -s ../cordova-mobile-spec www
 rm -rf platforms/ios/CordovaLib
 ../cordova-ios/bin/update_cordova_subproject platforms/ios/mobilespec.xcodeproj
 ../cordova-cli/bin/cordova prepare