Commit 3bfe8112 by David Ormsbee

Merge pull request #98 from MITx/mm-fix-paths

PROJECT_ROOT is needed for coffeescript paths
parents 77c637ce d0819071
......@@ -294,7 +294,7 @@ PIPELINE_JS = {
'output_filename': 'js/application.js'
},
'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'
}
}
......
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