Sha256: 5d55b296c086628bd12c42e072e56f5ebf4ba0e11e09aec9f5a4c659346a90f6
Contents?: true
Size: 340 Bytes
Versions: 10
Compression:
Stored size: 340 Bytes
Contents
var fs; fs = require('fs'); option('-o', '--output [DIR]', 'directory for compiled code'); task('build:parser', 'rebuild the Jison parser', function(options) { var code, dir; require('jison'); code = require('./lib/grammar').parser.generate(); dir = options.output || 'lib'; return fs.writeFile("" + dir + "/parser.js", code); });
Version data entries
10 entries across 10 versions & 2 rubygems