incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [9/50] git commit: Added clean up script
Date Tue, 10 Apr 2012 19:15:19 GMT
Added clean up script


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/47bec3ca
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/tree/47bec3ca
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/diff/47bec3ca

Branch: refs/heads/master
Commit: 47bec3ca93ad892ce3626b1436ba74f4f835db48
Parents: e3c2be0
Author: Tim Kim <timk@adobe.com>
Authored: Wed Mar 21 13:01:20 2012 -0700
Committer: Tim Kim <timk@adobe.com>
Committed: Wed Mar 21 13:01:20 2012 -0700

----------------------------------------------------------------------
 coho |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/47bec3ca/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index 1d845f7..055a692 100755
--- a/coho
+++ b/coho
@@ -163,7 +163,9 @@ queueCommand("cd temp/release/src && zip -r "+cordovaSrcZip+"
* && gpg --armor -
 
 
 // clean up
-
+queueCommand("cd temp/release/bin && ls | grep -v "+cordovaBinZip+" | xargs rm -r");
+queueCommand("cd temp/release/doc && ls | grep -v "+cordovaDocZip+" | xargs rm -r");
+queueCommand("cd temp/release/src && ls | grep -v "+cordovaSrcZip+" | xargs rm -r");
 executeCommands(function(){
 	exec("say DONE", function(e, stdout, stderr) {
 	});


Mime
View raw message