Files
jasmine/grunt/tasks/build_standalone.js
Davis W. Frank edc2bfae93 All Jasmine file manipulation/development moved from Thor to Grunt. Thor has been removed completely. Run grunt --help to see available tasks.
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.
2013-03-24 09:41:42 -07:00

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(""));
}
};