* canonical version number of jasmine-core is now is package.json * `grunt buildDistribution` builds jasmine.js, jasmine-html.js, jasmine.css and outputs them to the dist dir * `grunt buildStandaloneDist` builds the example spec runner files and compresses them to dist/jasmine-VERSION.zip * `grunt compass` compiles jasmine.css * jasmine.Env handling of version is backwards compatible, but uses the version string directly (and nicely deprecated) * Ruby/thor tasks that did the above deleted
33 lines
689 B
JavaScript
33 lines
689 B
JavaScript
module.exports = {
|
|
'jasmine-html': {
|
|
src: [
|
|
'src/html/HtmlReporter.js',
|
|
'src/html/HtmlSpecFilter.js',
|
|
'src/html/ResultsNode.js',
|
|
'src/html/QueryString.js'
|
|
],
|
|
dest: 'lib/jasmine-core/jasmine-html.js'
|
|
},
|
|
jasmine: {
|
|
src: [
|
|
'src/core/base.js',
|
|
'src/core/util.js',
|
|
'src/core/Spec.js',
|
|
'src/core/Env.js',
|
|
'src/core/JsApiReporter.js',
|
|
'src/core/Matchers',
|
|
'src/core/PrettyPrinter',
|
|
'src/core/Suite',
|
|
'src/core/**/*.js',
|
|
'src/version.js'
|
|
],
|
|
dest: 'lib/jasmine-core/jasmine.js'
|
|
},
|
|
options: {
|
|
process: {
|
|
data: {
|
|
version: global.jasmineVersion
|
|
}
|
|
}
|
|
}
|
|
}; |