forked from Crisismap/winnie-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
30 lines (27 loc) · 867 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
27
28
29
30
var gulp = require('gulp');
var concat = require('gulp-concat');
gulp.task('css', function() {
return gulp.src('gmxApplication.css')
.pipe(gulp.dest('dist'));
});
gulp.task('js', function() {
return gulp.src([
'lib/PagingView.js',
'lib/FullscreenControlMixin.js',
'lib/FullscreenPagingPaneControl.js',
'lib/MobileButtonsPaneControl.js',
'lib/gmxTreeParser.js',
'runtime/_header.js',
'runtime/core.js',
'runtime/map.js',
'runtime/layers.js',
'runtime/controls.js',
'runtime/containers.js',
'runtime/widgets.js',
'runtime/tail.js',
'runtime/_footer.js'
])
.pipe(concat('gmxApplication.js'))
.pipe(gulp.dest('dist'));
});
gulp.task('default', ['js', 'css']);