Closed schorfES closed 10 years ago
When the outfile option for jasmine is set, the path to the require.js lib won't be correct anymore...
outfile
These settings...
{ src: 'src/**/*.js', options: { specs: ['testing/specs/*.js'], keepRunner: true, outfile: 'testing/specs/specs.html', template: require('grunt-template-jasmine-requirejs'), templateOptions: { // some config... } } }
...generate the following script pathes:
<!-- not correct --> <script src=".grunt/grunt-contrib-jasmine/require.js"></script> <!-- works fine --> <script src="../../.grunt/grunt-contrib-jasmine/jasmine.js"></script> <script src="../../.grunt/grunt-contrib-jasmine/jasmine-html.js"></script>
Added a pull request for this issue.
Fixed in v0.1.10
Great, thank you!
When the
outfile
option for jasmine is set, the path to the require.js lib won't be correct anymore...These settings...
...generate the following script pathes: