-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.coffee
41 lines (37 loc) · 1.08 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
29
30
31
32
33
34
35
36
37
38
39
40
41
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
coffee:
compile:
files: [
{
'./app.js': './app.coffee',
'./routes/index.js': './routes/index.coffee'
},
{
expand: true
cwd: 'src/javascripts/',
src: ['**/*.coffee'],
dest: 'public/javascripts/',
ext: '.js',
extDot: 'last'
}
]
sass:
dist:
files:
'./public/stylesheets/styles.css': './src/stylesheets/styles.sass'
options:
includePaths: [
'./bower_components/bourbon/app/assets/stylesheets/',
'./bower_components/mdi/scss'
]
bower_concat:
all:
dest: 'public/javascripts/vendor/_bower.js'
dependencies:
'lumx': ['jquery', 'velocity', 'moment', 'angular']
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-sass'
grunt.loadNpmTasks 'grunt-bower-concat'
grunt.registerTask 'default', ['coffee', 'sass', 'bower_concat']