forked from standuprey/cropme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.coffee
47 lines (43 loc) · 1.04 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
42
43
44
45
46
47
"use strict"
module.exports = (grunt) ->
# Load grunt tasks automatically
require("load-grunt-tasks") grunt
# Define the configuration for all the tasks
grunt.initConfig
copy: require "./tasks/options/copy"
clean: require "./tasks/options/clean"
coffee: require "./tasks/options/coffee"
compass: require "./tasks/options/compass"
connect: require "./tasks/options/connect"
karma: require "./tasks/options/karma"
concat: require "./tasks/options/concat"
ngAnnotate: require "./tasks/options/ngannotate"
ngdocs: require "./tasks/options/ngdocs"
watch: require "./tasks/options/watch"
grunt.registerTask "build", [
"clean"
"compass"
"coffee"
"concat"
"ngAnnotate"
"ngdocs"
"copy"
"connect:test"
#"karma:unit"
]
grunt.registerTask "debug", [
"clean"
"compass"
"coffee"
"concat"
"ngAnnotate"
"ngdocs"
"connect:test"
#"karma:debug"
]
grunt.registerTask "serve", [
"build"
"watch"
]
grunt.registerTask "default", ["build"]
return