Sha256: 904ba454247e61fd1d5ff03dadc1760cb5ece2b8d1354ba55d87873478ea500b

Contents?: true

Size: 870 Bytes

Versions: 40

Compression:

Stored size: 870 Bytes

Contents

var grunt = require("grunt");

function standaloneTmpDir(path) {  return "dist/tmp/" + path; }

grunt.registerTask("build:compileSpecRunner",
    "Processes the spec runner template and writes to a tmp file",
    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);
    }
);

grunt.registerTask("build:cleanSpecRunner",
    "Deletes the tmp spec runner file",
    function() {
        grunt.file.delete(standaloneTmpDir(""));
    }
);

grunt.registerTask("buildStandaloneDist",
    "Builds a standalone distribution",
    [
      "buildDistribution",
      "build:compileSpecRunner",
      "compress:standalone",
      "build:cleanSpecRunner"
    ]
);

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/bootstrap-tagsinput/lib/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.11.0 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.10.5 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.10.4 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.10.3 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.10.2 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.10.1 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.10.0 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.9.1 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.9.0 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.8.2 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.8.1 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.8.0 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.7.8 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.7.7 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.7.6 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.7.5 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.7.4 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.7.3 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js
upjs-rails-0.7.2 spec_app/vendor/assets/bower_components/jasmine/grunt/tasks/build_standalone.js