@@ -13,8 +13,8 @@ gutil = require 'gulp-util'
13
13
pkg = require ' ./package.json'
14
14
# -- FILES ---------------------------------------------------------------------
15
15
path =
16
- bower : ' ./bower '
17
- temp : ' ./build'
16
+ dist : ' ./dist '
17
+ build : ' ./build'
18
18
coffee : [' ./source/*.coffee'
19
19
' ./spec/*.coffee' ]
20
20
modules : [' ./source/quo.coffee'
@@ -50,37 +50,37 @@ gulp.task "server", ->
50
50
gulp .task ' modules' , ->
51
51
gulp .src path .modules
52
52
.pipe coffee ().on ' error' , gutil .log
53
- .pipe gulp .dest path .temp
53
+ .pipe gulp .dest path .build
54
54
.pipe uglify mangle : true
55
55
.pipe header banner, pkg : pkg
56
- .pipe gulp .dest path .bower
56
+ .pipe gulp .dest path .dist
57
57
.pipe connect .reload ()
58
58
59
59
gulp .task ' gestures' , ->
60
60
gulp .src path .gestures
61
61
.pipe concat ' quo.gestures.coffee'
62
62
.pipe coffee ().on ' error' , gutil .log
63
- .pipe gulp .dest path .temp
63
+ .pipe gulp .dest path .build
64
64
.pipe uglify mangle : true
65
65
.pipe header banner, pkg : pkg
66
- .pipe gulp .dest path .bower
66
+ .pipe gulp .dest path .dist
67
67
.pipe connect .reload ()
68
68
69
69
gulp .task ' standalone' , ->
70
70
gulp .src path .modules .concat path .gestures
71
71
.pipe concat ' quo.standalone.coffee'
72
72
.pipe coffee ().on ' error' , gutil .log
73
- .pipe gulp .dest path .temp
73
+ .pipe gulp .dest path .build
74
74
.pipe uglify mangle : true
75
75
.pipe header banner, pkg : pkg
76
- .pipe gulp .dest path .bower
76
+ .pipe gulp .dest path .dist
77
77
.pipe connect .reload ()
78
78
79
79
gulp .task ' spec' , ->
80
80
gulp .src path .spec
81
81
.pipe concat ' spec.coffee'
82
82
.pipe coffee ().on ' error' , gutil .log
83
- .pipe gulp .dest path .temp
83
+ .pipe gulp .dest path .build
84
84
85
85
gulp .task ' karma' , [' modules' , ' spec' ], (done ) ->
86
86
karma .start
0 commit comments