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 2015/02/11 15:57:18 UTC
[1/2] cordova-cli git commit: Grunt "retire" task added (close #204)
Repository: cordova-cli
Updated Branches:
refs/heads/master b2020cdee -> 902ef758b
Grunt "retire" task added (close #204)
Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/902ef758
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/902ef758
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/902ef758
Branch: refs/heads/master
Commit: 902ef758bbde69904be4bbe071316a6e1ec28fb4
Parents: 5c5a761
Author: Jesús Pérez <je...@gmail.com>
Authored: Sat Jan 10 22:11:09 2015 +0100
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Wed Feb 11 09:57:04 2015 -0500
----------------------------------------------------------------------
Gruntfile.js | 42 ++++++++++++++++++++++++++++++++++++++++++
package.json | 2 ++
2 files changed, 44 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/902ef758/Gruntfile.js
----------------------------------------------------------------------
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 0000000..2450884
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,42 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+*/
+
+module.exports = function(grunt) {
+
+ grunt.initConfig({
+
+ pkg : grunt.file.readJSON('package.json'),
+
+ // Look for security fixes in dependencies
+ retire : {
+ js : ['cordova.js', 'Gruntfile.js', 'spec/*.js', 'src/*.js'],
+ node : ['./'],
+ options : {
+ verbose : true,
+ packageOnly : true,
+ jsRepository : 'https://raw.github.com/bekk/retire.js/master/repository/jsrepository.json',
+ nodeRepository : 'https://raw.github.com/bekk/retire.js/master/repository/npmrepository.json'
+ }
+ }
+
+ });
+
+ grunt.loadNpmTasks('grunt-retire');
+
+};
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/902ef758/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index abbcc9e..a810d1d 100644
--- a/package.json
+++ b/package.json
@@ -36,6 +36,8 @@
},
"devDependencies": {
"istanbul": "^0.3.4",
+ "grunt": "0.4.5",
+ "grunt-retire": "0.3.7",
"jasmine-node": "1.14.5"
},
"author": "Anis Kadri",
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[2/2] cordova-cli git commit: CB-8439 Fix 'cordova platform update'
documentation to include `` (close #208)
Posted by ag...@apache.org.
CB-8439 Fix 'cordova platform update' documentation to include `<plat-spec>` (close #208)
Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/5c5a7610
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/5c5a7610
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/5c5a7610
Branch: refs/heads/master
Commit: 5c5a761094d361ad103a7fb6a3383de73b7f0c89
Parents: b2020cd
Author: Omar Mefire <om...@microsoft.com>
Authored: Fri Feb 6 13:02:17 2015 -0800
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Wed Feb 11 09:57:04 2015 -0500
----------------------------------------------------------------------
doc/platform.txt | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5c5a7610/doc/platform.txt
----------------------------------------------------------------------
diff --git a/doc/platform.txt b/doc/platform.txt
index 3048f8b..9be5ad9 100644
--- a/doc/platform.txt
+++ b/doc/platform.txt
@@ -19,8 +19,9 @@ Manage project platforms
--save ........................ delete specified platforms from config.xml after removing them
list .............................. list all installed and available platforms
- update <platform> ................. update the version of Cordova used for a specific
- platform; use after updating the CLI.
+ update <plat-spec> ................ update the version of Cordova used for a specific platform;
+ update to the latest <version> if no <version>, <path> or <url> is specified
+
--usegit ...................... retrieve platform from git instead of npm registry
--save ........................ save the latest versions for specified platforms into config.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org