Merge branch 'jsfmt' into next
This commit is contained in:
commit
15721a089e
2 changed files with 12 additions and 0 deletions
11
Gruntfile.js
11
Gruntfile.js
|
|
@ -184,6 +184,16 @@ module.exports = function(grunt) {
|
|||
clean: {
|
||||
options: {force: true},
|
||||
generated: [tempFolder]
|
||||
},
|
||||
jsfmt: {
|
||||
default: {
|
||||
files: [{
|
||||
expand: true,
|
||||
src: ['mithril.js'],
|
||||
cwd: '.',
|
||||
dest: '.'
|
||||
}]
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -198,6 +208,7 @@ module.exports = function(grunt) {
|
|||
grunt.loadNpmTasks('grunt-contrib-qunit');
|
||||
grunt.loadNpmTasks('grunt-contrib-connect');
|
||||
grunt.loadNpmTasks('grunt-saucelabs');
|
||||
grunt.loadNpmTasks('grunt-jsfmt');
|
||||
|
||||
grunt.registerTask("build", ["test", "uglify", "zip", "md2html", "replace", "copy", "clean"]);
|
||||
grunt.registerTask("testall", ["test", "teste2e"]);
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
"grunt-replace": "*",
|
||||
"grunt-contrib-qunit": "*",
|
||||
"grunt-zip": "*",
|
||||
"grunt-jsfmt": "git://github.com/ysimonson/grunt-jsfmt",
|
||||
|
||||
"grunt-contrib-connect": "~0.7.1",
|
||||
"grunt-contrib-jshint": "~0.10.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue