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) -> |
||||
|
||||
require('load-grunt-tasks') grunt, pattern: 'grunt-contrib-*' |
||||
|
||||
grunt.initConfig |
||||
|
||||
jshint: |
||||
|
||||
c3: 'c3.js' |
||||
spec: 'spec/*.js' |
||||
options: |
||||
jshintrc: '.jshintrc' |
||||
c3: 'c3.js' |
||||
spec: 'spec/*.js' |
||||
options: |
||||
jshintrc: '.jshintrc' |
||||
|
||||
jasmine: |
||||
c3: |
||||
src: 'c3.js' |
||||
options: |
||||
specs: 'spec/*.js' |
||||
|
||||
c3: |
||||
src: 'c3.js' |
||||
options: |
||||
specs: 'spec/*.js' |
||||
uglify: |
||||
c3: |
||||
files: |
||||
'c3.min.js': 'c3.js' |
||||
|
||||
grunt.registerTask 'default', ['jshint', 'jasmine'] |
||||
grunt.registerTask 'default', ['jshint', 'jasmine', 'uglify'] |
||||
|
Loading…
Reference in new issue