small cleanup

This commit is contained in:
Christopher Jeffrey 2012-01-30 12:11:42 -06:00
parent c2d1e31fe4
commit 504bf0b526
3 changed files with 3 additions and 11 deletions

View File

@ -1,10 +1,9 @@
all:
@cp lib/marked.js marked.js
@uglifyjs -mt --unsafe -o marked.min.js marked.js
@uglifyjs -o marked.min.js marked.js
clean:
@rm marked.js
@rm marked.min.js
.PHONY: clean all

View File

@ -23,13 +23,9 @@ var help = function() {
customFds: [0, 1, 2]
};
var man = spawn('man',
spawn('man',
[__dirname + '/../man/marked.1'],
options);
// man.on('exit', function(code) {
// if (code !== 0) console.error('no man page');
// });
};
/**

View File

@ -9,9 +9,6 @@
// fail for reasons unrelated to
// conformance.
// fix the fact that the original markdown
// does not escape quotes for some reason
var path = require('path')
, fs = require('fs')
, dir = __dirname + '/tests';
@ -49,7 +46,7 @@ fs.readdirSync(dir).forEach(function(file) {
(function() {
var file = dir + '/amps_and_angles_encoding.html';
var html = fs.readFileSync(file, 'utf8')
.replace('6 > 5.', '6 > 5.')
.replace('6 > 5.', '6 > 5.');
fs.writeFileSync(file, html);
})();