1var smoosh = require('smoosh'),
2 fs = require('fs');
3
4smoosh.make('config/smoosh.json');
5
6var copyright = fs.readFileSync('./src/copyright.js', 'utf8'),
7 qwery = fs.readFileSync('./tmp/qwery.js', 'utf8'),
8 qweryMin = fs.readFileSync('tmp/qwery.min.js', 'utf8');
9
10fs.writeFileSync('./qwery.js', [copyright, qwery].join(''), 'utf8');
11fs.writeFileSync('./qwery.min.js', [copyright, qweryMin].join(''), 'utf8');