-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathGruntfile.coffee
28 lines (24 loc) · 1.09 KB
/
Gruntfile.coffee
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
module.exports = (grunt) ->
grunt.initConfig
coffee:
options:
bare: true
compile:
files:
'dist/Twitter Bootstrap 3 Grid iPhone Portrait.jsx': ['src/grid.coffee','src/iphone-portrait.coffee']
'dist/Twitter Bootstrap 3 Grid iPhone Landscape.jsx': ['src/grid.coffee','src/iphone-landscape.coffee']
'dist/Twitter Bootstrap 3 Grid Tablet.jsx': ['src/grid.coffee','src/tablets.coffee']
'dist/Twitter Bootstrap 3 Grid Desktop.jsx': ['src/grid.coffee','src/desktops.coffee']
'dist/Twitter Bootstrap 3 Grid Large Desktop.jsx': ['src/grid.coffee','src/large-desktops.coffee']
'dist/Twitter Bootstrap 3 Grid Fluid.jsx': ['src/grid.coffee','src/fluid.coffee']
mochaTest:
files: ['test/**/*.coffee']
mochaTestConfig:
options:
reporter: 'spec'
ui: 'bdd'
compilers: 'coffee:coffee-script'
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-mocha-test'
grunt.registerTask 'default', ['coffee']
grunt.registerTask 'test', ['mochaTest']