fixing require paths in the Cakefile so that build:jison will work, even if you don't have it installed.

This commit is contained in:
Jeremy Ashkenas 2010-02-28 10:37:12 -05:00
parent b08995cbcc
commit 2969e156c7
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ task 'build', 'build the CoffeeScript language from source', ->
task 'build:parser', 'rebuild the Jison parser (run build first)', ->
require.paths.unshift 'vendor/jison/lib'
parser: require('grammar').parser
js: parser.generate()
parser_path: 'lib/parser.js'