Gruntfile.js
607 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* grunt-bosonic
* https://github.com/bosonic/grunt-bosonic
*
* Copyright (c) 2013 Raphaël Rougeron
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
clean: {
tests: ['tmp'],
},
bosonic: {
sample: {
src: ['samples/spec_sample.html'],
css: 'tmp/spec_sample.css',
js: 'tmp/spec_sample.js'
}
}
});
grunt.loadTasks('tasks');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.registerTask('test', ['clean', 'bosonic']);
grunt.registerTask('default', ['test']);
};