This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
camilo@macbooksito:~/Development/skywriter$ hg status | |
** unknown exception encountered, details follow | |
** report bug details to http://mercurial.selenic.com/bts/ | |
** or mercurial@selenic.com | |
** Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] | |
** Mercurial Distributed SCM (version 1.6) | |
** Extensions loaded: rebase | |
Traceback (most recent call last): | |
File "/usr/local/bin/hg", line 27, in <module> | |
mercurial.dispatch.run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/jake.js b/lib/jake.js | |
index ee15998..60dd85d 100644 | |
--- a/lib/jake.js | |
+++ b/lib/jake.js | |
@@ -1,6 +1,6 @@ | |
#!/usr/bin/env node | |
/* | |
- * Node-Jake JavaScript build tool | |
+ * Node-Jake JavaScript build tool | |
* Copyright 2112 Matthew Eernisse (mde@fleegix.org) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
var path = require('path'); | |
var sys = require('sys'); | |
var EventEmitter = require('events').EventEmitter; | |
var mkpath = function mkpath(_path, callback) { | |
var self = this; | |
var dirs = _path.split('/'); | |
var d = './'; | |
var entry = -1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
var path = require('path'); | |
var sys = require('sys'); | |
function copytree(src, dst) { | |
if(!path.existsSync(src)) { | |
throw new Error(src + ' does not exists. Nothing to be copied'); | |
} | |
if(!fs.statSync(src).isDirectory()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var path = require('path'); | |
var fs = require('fs'); | |
var sys = require('sys'); | |
var EventEmitter = require('events').EventEmitter; | |
var copy = function copy(src, dst, callback) { | |
var self = this; | |
self.on('error', function(err) { | |
callback(err); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// fs.copy(src,dst) && fs.copySync(src,dst) | |
var copy = function copy(src, dst, callback) { | |
var self = this; | |
if(!callback) { | |
callback = function(){}; | |
} | |
self.on('error', function(err) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = 'hola' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
camilo@imacsita:~> sudo curl http://npmjs.org/install.sh | sh | |
Password: | |
Sorry, try again. | |
Password: | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 338 100 338 0 0 2703 0 --:--:-- --:--:-- --:--:-- 8450 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 568k 100 568k 0 0 583k 0 --:--:-- --:--:-- --:--:-- 583k |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var files = []; | |
var wf_rlevel = 0; | |
util.walkfiles = function(_path, filter) { | |
if(fs.statSync(_path).isFile()) { | |
throw new Error(_path + ' is a file. You should provide a directory path'); | |
} | |
if(!filter) { | |
filter = '.*'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
'should lookup a domain by id': function(assert) { | |
}, | |
'should create a persistent Domain from its JSON Description': function(assert) { | |
}, | |
'should return the id': function(assert) { |