[Finishes #52810607] separate out the build standalone tasks
This commit is contained in:
22
Gruntfile.js
22
Gruntfile.js
@@ -15,6 +15,8 @@ module.exports = function(grunt) {
|
||||
grunt.loadNpmTasks('grunt-contrib-compass');
|
||||
grunt.loadNpmTasks('grunt-contrib-compress');
|
||||
|
||||
grunt.loadTasks('grunt/tasks');
|
||||
|
||||
grunt.registerTask('default', ['jshint:all']);
|
||||
|
||||
var version = require('./grunt/tasks/version.js');
|
||||
@@ -35,24 +37,6 @@ module.exports = function(grunt) {
|
||||
]
|
||||
);
|
||||
|
||||
grunt.registerTask("build:compileSpecRunner",
|
||||
"Processes the spec runner template and writes to a tmp file",
|
||||
standaloneBuilder.compileSpecRunner
|
||||
);
|
||||
|
||||
grunt.registerTask("build:cleanSpecRunner",
|
||||
"Deletes the tmp spec runner file",
|
||||
standaloneBuilder.cleanSpecRunner
|
||||
);
|
||||
|
||||
grunt.registerTask("buildStandaloneDist",
|
||||
"Builds a standalone distribution",
|
||||
[
|
||||
"build:compileSpecRunner",
|
||||
"compress:standalone",
|
||||
"build:cleanSpecRunner"
|
||||
]
|
||||
);
|
||||
|
||||
var spec = require('./grunt/tasks/spec.js');
|
||||
|
||||
@@ -61,4 +45,4 @@ module.exports = function(grunt) {
|
||||
spec.execSpecsInNode
|
||||
);
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user