mirror of https://github.com/masayuki0812/c3.git
David van Leeuwen
11 years ago
2 changed files with 15 additions and 14 deletions
@ -1,22 +1,22 @@ |
|||||||
|
|
||||||
module.exports = (grunt) -> |
module.exports = (grunt) -> |
||||||
|
|
||||||
require('load-grunt-tasks') grunt, pattern: 'grunt-contrib-*' |
require('load-grunt-tasks') grunt, pattern: 'grunt-contrib-*' |
||||||
|
|
||||||
grunt.initConfig |
grunt.initConfig |
||||||
|
|
||||||
jshint: |
jshint: |
||||||
|
c3: 'c3.js' |
||||||
c3: 'c3.js' |
spec: 'spec/*.js' |
||||||
spec: 'spec/*.js' |
options: |
||||||
options: |
jshintrc: '.jshintrc' |
||||||
jshintrc: '.jshintrc' |
|
||||||
|
|
||||||
jasmine: |
jasmine: |
||||||
|
c3: |
||||||
|
src: 'c3.js' |
||||||
|
options: |
||||||
|
specs: 'spec/*.js' |
||||||
|
|
||||||
c3: |
uglify: |
||||||
src: 'c3.js' |
c3: |
||||||
options: |
files: |
||||||
specs: 'spec/*.js' |
'c3.min.js': 'c3.js' |
||||||
|
|
||||||
grunt.registerTask 'default', ['jshint', 'jasmine'] |
grunt.registerTask 'default', ['jshint', 'jasmine', 'uglify'] |
||||||
|
Loading…
Reference in new issue