Comparing version 0.1.4 to 0.1.5
10
cmd.js
@@ -9,8 +9,12 @@ #!/usr/bin/env node | ||
// all file paths have a $ replaced with $$ to play nicely with makefiles. | ||
// we have to replace with $$$$ becasue the $ char is a wilecard in String.replace | ||
// and so two $$ = one actual $ | ||
// write header | ||
console.log(process.argv[2].replace('$', '$$') + ': \\'); | ||
console.log(process.argv[2].replace('$', '$$$$') + ': \\'); | ||
// read lines from stdin and write to stdout, and make sure $'s are escaped | ||
// read lines from stdin and write to stdout | ||
rl.on('line', function(line){ | ||
console.log(' ' + line.replace('$', '$$') + ' \\'); | ||
console.log(' ' + line.replace('$', '$$$$') + ' \\'); | ||
}); | ||
@@ -17,0 +21,0 @@ |
{ | ||
"name": "makedeps", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Emits Make-compatible dependency files from browserify --list", | ||
@@ -5,0 +5,0 @@ "main": "cmd.js", |
2478
18