small cleanup
This commit is contained in:
parent
c2d1e31fe4
commit
504bf0b526
3
Makefile
3
Makefile
@ -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
|
||||
|
||||
|
@ -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');
|
||||
// });
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -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);
|
||||
})();
|
||||
|
Loading…
x
Reference in New Issue
Block a user