Commit d0819071 by Matthew Mongeau

PROJECT_ROOT is needed for coffeescript paths

parent 77c637ce
...@@ -294,7 +294,7 @@ PIPELINE_JS = { ...@@ -294,7 +294,7 @@ PIPELINE_JS = {
'output_filename': 'js/application.js' 'output_filename': 'js/application.js'
}, },
'spec': { 'spec': {
'source_filenames': [pth.replace('static/', '') for pth in glob2.glob('static/coffee/spec/**/*.coffee')], 'source_filenames': [pth.replace(PROJECT_ROOT / 'static/', '') for pth in glob2.glob(PROJECT_ROOT / 'static/coffee/spec/**/*.coffee')],
'output_filename': 'js/spec.js' 'output_filename': 'js/spec.js'
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment