cloudchen / grunt-template-jasmine-requirejs

RequireJS template for grunt-contrib-jasmine task
111 stars 96 forks source link

new option for require.js (addresses Issue #36) #45

Closed gilluminate closed 10 years ago

gilluminate commented 11 years ago

new option for specifying custom path to (relative to _SpecRunner.html)

example:

options: {
    outfile: "custom/path/to/_SpecRunner.html",
    specs: "path/to/spec/*Spec.js",
    template: require('grunt-template-jasmine-requirejs'),
    templateOptions: {
        requireFile: "../js/libs/require.min.js", //relative to outfile
        requireConfigFile: ['path/to/src/config.js' ],
        requireConfig: {
            baseUrl: '../src/'
        }
    },
}
cloudchen commented 10 years ago

Fixed in v0.1.10