-
Notifications
You must be signed in to change notification settings - Fork 392
/
gulpfile.js
26 lines (18 loc) · 856 Bytes
/
gulpfile.js
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
var gulp = require('gulp')
, docs = require('./tasks/docs')
, dev = require('./tasks/development')
, assets = require('./tasks/assets')
, browser = require('./tasks/browser');
gulp.task('dev-server', dev.devServer)
gulp.task('doc-server', dev.docServer)
gulp.task('assets-less', assets.less)
gulp.task('assets-fonts', assets.fonts)
gulp.task('lib-clean', assets.clean)
gulp.task('lib-compile', ['lib-clean'], assets.compile)
gulp.task('browser-clean', browser.clean)
gulp.task('browser-build', ['lib', 'browser-clean'], browser.build)
gulp.task('lib', [ 'lib-clean', 'lib-compile'])
gulp.task('assets', [ 'assets-fonts', 'assets-less'])
gulp.task('docs', [ 'lib', 'assets'], docs.build)
gulp.task('browser', [ 'browser-clean', 'browser-build'])
gulp.task('release', [ 'lib', 'assets', 'docs', 'browser']);