You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/10/01 21:13:32 UTC
spec commit: added platformVersion during cordova-js build step
Repository: cordova-mobile-spec
Updated Branches:
refs/heads/master a7af0cf91 -> 59f4b8325
added platformVersion during cordova-js build step
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/59f4b832
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/59f4b832
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/59f4b832
Branch: refs/heads/master
Commit: 59f4b832515a9f8be1137fdea7f3ba03a23d6dd8
Parents: a7af0cf
Author: Steven Gill <st...@gmail.com>
Authored: Wed Oct 1 12:13:14 2014 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Wed Oct 1 12:13:14 2014 -0700
----------------------------------------------------------------------
createmobilespec/createmobilespec.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/59f4b832/createmobilespec/createmobilespec.js
----------------------------------------------------------------------
diff --git a/createmobilespec/createmobilespec.js b/createmobilespec/createmobilespec.js
index 77d0c98..d8913fc 100755
--- a/createmobilespec/createmobilespec.js
+++ b/createmobilespec/createmobilespec.js
@@ -392,7 +392,7 @@ function updateJS() {
} else {
console.log("Updating js for platforms...");
try {
- require(path.join(cordova_js_git_dir, "node_modules", "grunt"));
+ require(path.join(cordova_js_git_dir, "node_modules", "grunt --platformVersion=MSTEST"));
} catch (e) {
console.error("Grunt isn't installed in cordova-js, you need to:\n\trun `npm install` from: "+ cordova_js_git_dir);
}