Skip to content

Instantly share code, notes, and snippets.

Paul Norton tripleshotsw

Block or report user

Report or block tripleshotsw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tripleshotsw
tripleshotsw / concat.js
Created Feb 10, 2013
Using Node.js to create simple build tools. In this case, 'concat.js' which concatenates JS files (or, really any text files).
View concat.js
var fs = require('fs');
var os = require('os');
var program = require('commander');
var importList = [];
//Options -- also sets up automatic --help message/usage info
program
.version('0.0.1')
.option('-f, --filelist [txtfile]', 'use an input file with a comma separated list of files to concat')
You can’t perform that action at this time.