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 2013/08/02 19:40:33 UTC

[1/2] spec commit: Work around CLI failing during createmobilespec.sh due to EMFILE on osx

Updated Branches:
  refs/heads/master d6240a9e6 -> 239332823


Work around CLI failing during createmobilespec.sh due to EMFILE on osx


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/4a403bcc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/4a403bcc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/4a403bcc

Branch: refs/heads/master
Commit: 4a403bcc13ff5aa1b5bb95e63578fc9b06dfb63b
Parents: d6240a9
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Aug 2 13:39:46 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Fri Aug 2 13:39:46 2013 -0400

----------------------------------------------------------------------
 createmobilespec.sh | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/4a403bcc/createmobilespec.sh
----------------------------------------------------------------------
diff --git a/createmobilespec.sh b/createmobilespec.sh
index 29a5ab0..dbcc92e 100755
--- a/createmobilespec.sh
+++ b/createmobilespec.sh
@@ -22,6 +22,9 @@
 # It currently installs only the iOS and Android platforms.
 # Based on: https://wiki.apache.org/cordova/WorkingWithThree#preview
 
+# TODO: Remove once CLI/plugman moves away from shelljs.exec().
+ulimit -S -n 4096
+
 if [[ ! -d cordova-mobile-spec ]]; then
   echo "Please run this script from the directory that contains cordova-mobile-spec"
   exit 1


[2/2] spec commit: Fix exec benchmark to use correct "echo" symbol.

Posted by ag...@apache.org.
Fix exec benchmark to use correct "echo" symbol.


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/23933282
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/23933282
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/23933282

Branch: refs/heads/master
Commit: 2393328231c0defdfc024a46b29257fb269e584d
Parents: 4a403bc
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Aug 2 13:40:15 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Fri Aug 2 13:40:15 2013 -0400

----------------------------------------------------------------------
 benchmarks/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/23933282/benchmarks/index.html
----------------------------------------------------------------------
diff --git a/benchmarks/index.html b/benchmarks/index.html
index d7dd2bd..91b3fea 100644
--- a/benchmarks/index.html
+++ b/benchmarks/index.html
@@ -49,7 +49,7 @@
     }
 
     function benchExec() {
-        var echo = cordova.require('cordova/plugin/echo'),
+        var echo = cordova.echo,
             startTime = +new Date,
             callCount = 0,
             durationMs = parseInt(document.getElementById('test-duration').value, 10) * 1000,