incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [23/50] git commit: updated readme
Date Tue, 10 Apr 2012 19:15:20 GMT
updated readme


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/commit/4feb7928
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/tree/4feb7928
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/diff/4feb7928

Branch: refs/heads/master
Commit: 4feb7928f5b3cf8095d9b21e51b84e1649fdd992
Parents: e42da0e
Author: Steven Gill <steven@apache.org>
Authored: Thu Feb 16 13:24:43 2012 -0800
Committer: Steven Gill <steven@apache.org>
Committed: Thu Feb 16 13:24:43 2012 -0800

----------------------------------------------------------------------
 README.md       |    3 +-
 test/dependency |   96 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/4feb7928/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 34d458f..3fc201d 100644
--- a/README.md
+++ b/README.md
@@ -7,8 +7,9 @@ Prerequisites
 -------------
  - Must be run on a Mac with Lion installed
  - Have node installed (v 6.6+)
- - Must have git setup
+ - Must have git setup 
  - Install joDoc
+	- Have perl 5.8+
 	- Clone [joDoc](http://github.com/davebalmer/jodoc)
 
 	        git clone http://github.com/davebalmer/joDoc.git

http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/4feb7928/test/dependency
----------------------------------------------------------------------
diff --git a/test/dependency b/test/dependency
new file mode 100755
index 0000000..6a77a2e
--- /dev/null
+++ b/test/dependency
@@ -0,0 +1,96 @@
+#!/usr/bin/env node
+var exec = require('child_process').exec
+
+
+exec("sw_vers | grep ProductVersion | awk '{print $2}'", function (error, stdout, stderr)
{
+	var osversion = parseFloat(stdout);
+	
+/*	
+    console.log('stdout: ' + stdout+ " " + parseFloat(stdout));
+    console.log('stderr: ' + stderr);
+    if (error !== null) {
+      console.log('exec error: ' + error);
+    }
+*/
+	if (osversion < 10.7){
+		console.log('Sorry, you need to be running Lion (10.7.x) to run this build script. Go to
http://www.apple.com/macosx/ to upgrade now')
+	}else{
+		console.log('You have Lion!')
+	}
+})
+
+exec("git --version", function (error, stdout, stderr) {
+	console.log('stdout: ' + stdout);
+    console.log('stderr: ' + stderr);
+	if (stderr != ""){
+		console.log('errorzzzz')
+	} 
+})
+
+exec("node --version", function (error, stdout, stderr) {
+	console.log('stdout: ' + stdout);
+    console.log('stderr: ' + stderr);
+	if (stderr != ""){
+		console.log('errorzzzz')
+	} 
+})
+
+exec("perl -v", function (error, stdout, stderr) {
+	console.log('stdout: ' + stdout);
+    console.log('stderr: ' + stderr);
+	if (stderr != ""){
+		console.log('errorzzzz')
+	} 
+})
+
+exec("jodoc", function (error, stdout, stderr) {
+	console.log('stdout: ' + stdout);
+    console.log('stderr: ' + stderr);
+	if (stderr != ""){
+		console.log('errorzzzz')
+	} 
+})
+
+exec("nokogiri -v", function (error, stdout, stderr) {
+	console.log('stdout: ' + stdout);
+    console.log('stderr: ' + stderr);
+	if (stderr != ""){
+		console.log('errorzzzz')
+	} 
+})
+
+/*
+exec("sw_vers | grep ProductVersion | awk '{print $2}'", function (error, stdout, stderr)
{
+	osversion = parseFloat(stdout);
+	
+	
+    console.log('stdout: ' + stdout+ " " + parseFloat(stdout));
+    console.log('stderr: ' + stderr);
+    if (error !== null) {
+      console.log('exec error: ' + error);
+    }
+
+	if (osversion < 10.7){
+		console.log('oh shit!')
+	}else{
+		console.log('yeah boy')
+	}
+})
+
+exec("sw_vers | grep ProductVersion | awk '{print $2}'", function (error, stdout, stderr)
{
+	osversion = parseFloat(stdout);
+	
+	
+    console.log('stdout: ' + stdout+ " " + parseFloat(stdout));
+    console.log('stderr: ' + stderr);
+    if (error !== null) {
+      console.log('exec error: ' + error);
+    }
+
+	if (osversion < 10.7){
+		console.log('oh shit!')
+	}else{
+		console.log('yeah boy')
+	}
+})
+*/
\ No newline at end of file


Mime
View raw message