Canonical Jasmine version now lives in `package.json` (Node formatted) and is copied into Jasmine source (JavaScript and Ruby) Jasmine distribution now has MIT license and Pivotal Labs copyright at the top of each distributed file.
18 lines
481 B
JavaScript
18 lines
481 B
JavaScript
var grunt = require("grunt");
|
|
|
|
function standaloneTmpDir(path) { return "dist/tmp/" + path; }
|
|
|
|
module.exports = {
|
|
compileSpecRunner: function() {
|
|
var runnerHtml = grunt.template.process(
|
|
grunt.file.read("grunt/templates/SpecRunner.html.jst"),
|
|
{ data: { jasmineVersion: global.jasmineVersion }});
|
|
|
|
grunt.file.write(standaloneTmpDir("SpecRunner.html"), runnerHtml);
|
|
},
|
|
|
|
cleanSpecRunner: function() {
|
|
grunt.file.delete(standaloneTmpDir(""));
|
|
}
|
|
};
|