New tools folder
[ScratchNES.git] / src / tools / tableify.js
1 /*
2 * automatically fills up a buffer with stuff from text
3 */
4
5 var arr = require("fs").readFileSync(process.argv[2])
6 .toString()
7 .split("\n")
8 .map(function(line) {
9 return 'add "' + line + '" to ' + process.argv[3];
10 });
11
12 console.log("when this sprite clicked");
13 console.log("delete all of " + process.argv[3]);
14 console.log(arr.join("\n"));
This page took 0.060987 seconds and 4 git commands to generate.