forked from StreamMachine/sm-archiver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.coffee
29 lines (27 loc) · 912 Bytes
/
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
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
coffeelint:
app: ["src/**/*.coffee"]
options:
configFile: "coffeelint.json"
coffee:
coffee_to_js:
options:
bare: true
sourceMap: true
expand: true
flatten: false
src: ["src/**/*.coffee"]
dest: "js/"
ext: ".js"
copy:
v8:
expand: true,
cwd: "src/archiver/monitors/v8/",
src: ["build/**/*"],
dest: "js/src/archiver/monitors/v8/"
grunt.loadNpmTasks "grunt-coffeelint"
grunt.loadNpmTasks "grunt-contrib-coffee"
grunt.loadNpmTasks "grunt-contrib-copy"
grunt.registerTask "default", ["coffeelint", "coffee", "copy"]