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/05/14 02:09:38 UTC
[09/27] git commit: CB-5816 remove out-commented code
CB-5816 remove out-commented code
Project: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/commit/883b4cd9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/tree/883b4cd9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/diff/883b4cd9
Branch: refs/heads/3.5.x
Commit: 883b4cd9e7dc9353fe6c74da561c9f9d6efca2a3
Parents: 8f7ff83
Author: braas <br...@steckelfisch.nl>
Authored: Tue Mar 18 17:31:46 2014 +0100
Committer: braas <br...@steckelfisch.nl>
Committed: Tue Mar 18 17:31:46 2014 +0100
----------------------------------------------------------------------
bin/lib/create.js | 19 -------------------
1 file changed, 19 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/blob/883b4cd9/bin/lib/create.js
----------------------------------------------------------------------
diff --git a/bin/lib/create.js b/bin/lib/create.js
index 07372d7..57babe4 100755
--- a/bin/lib/create.js
+++ b/bin/lib/create.js
@@ -26,25 +26,6 @@ var fs = require('fs'),
ROOT = path.join(__dirname, '..', '..'),
check_reqs = require('./check_reqs');
-/*
-try {
- require.resolve("shelljs");
- create();
-} catch(e) {
- console.log('Shelljs module was not found, running \'npm install\'.....');
- var exec = require('child_process').exec;
- var cwd = process.cwd();
- process.chdir(__dirname);
- exec('npm install', function (error, stdout, stderr) {
- if (error !== null) {
- console.error('ERROR : running \'npm install\' is npm installed? ' + error);
- console.error(stderr);
- process.exit(error.code);
- }
- process.chdir(cwd);
- create();
- });
-*/
exports.createProject = function(project_path,package_name,project_name){
var VERSION = fs.readFileSync(path.join(ROOT, 'VERSION'), 'utf-8');