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:
parent
b08995cbcc
commit
2969e156c7
1
Cakefile
1
Cakefile
|
@ -29,6 +29,7 @@ task 'build', 'build the CoffeeScript language from source', ->
|
||||||
|
|
||||||
|
|
||||||
task 'build:parser', 'rebuild the Jison parser (run build first)', ->
|
task 'build:parser', 'rebuild the Jison parser (run build first)', ->
|
||||||
|
require.paths.unshift 'vendor/jison/lib'
|
||||||
parser: require('grammar').parser
|
parser: require('grammar').parser
|
||||||
js: parser.generate()
|
js: parser.generate()
|
||||||
parser_path: 'lib/parser.js'
|
parser_path: 'lib/parser.js'
|
||||||
|
|
Loading…
Reference in New Issue