Comparing version 0.1.3 to 0.1.4
@@ -10,7 +10,7 @@ #!/usr/bin/env node | ||
// write header | ||
console.log(process.argv[2] + ': \\'); | ||
console.log(process.argv[2].replace('$', '$$') + ': \\'); | ||
// read lines from stdin and write to stdout | ||
// read lines from stdin and write to stdout, and make sure $'s are escaped | ||
rl.on('line', function(line){ | ||
console.log(' ' + line + ' \\'); | ||
console.log(' ' + line.replace('$', '$$') + ' \\'); | ||
}); | ||
@@ -17,0 +17,0 @@ |
{ | ||
"name": "makedeps", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Emits Make-compatible dependency files from browserify --list", | ||
@@ -5,0 +5,0 @@ "main": "cmd.js", |
2314