This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
182 lines (181 loc) · 5.25 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
var gulp = require('gulp');
var path = require('path');
require('./external/GMXBuilder')(gulp, {
tempDir: './temp',
distDir: './dist',
htmlDistDir: './',
watchExtensions: ['.js', '.css', '.html', '.less', '.svg']
}, {
id: 'index',
htmlfile: './html/index.html',
components: [{
id: 'es6-promise',
bowerComponent: 'git://github.com/jakearchibald/es6-promise.git',
distFiles: ['dist/es6-promise.js']
}, {
bowerComponent: 'jsuri',
distFiles: ['Uri.js']
}, {
bowerComponent: 'jquery',
distFiles: ['dist/jquery.js']
}, {
bowerComponent: 'jquery-ui',
distFiles: ['jquery-ui.js']
}, {
bowerComponent: 'underscore',
distFiles: ['underscore.js']
}, {
bowerComponent: 'backbone',
distFiles: ['backbone.js']
}, {
bowerComponent: 'handlebars',
distFiles: ['handlebars.js']
}, {
id: 'Swiper',
bowerComponent: 'git://github.com/nolimits4web/Swiper.git',
distDir: './dist'
}, {
id: 'translations',
srcDir: './external/GMXCommonComponents/Translations',
build: false
}, {
id: 'Utils',
srcDir: './external/GMXCommonComponents/Utils',
build: false
}, {
id: 'GmxVirtualTileLayer',
srcDir: './external/GMXCommonComponents/GmxVirtualTileLayer',
build: false
}, {
id: 'FireVirtualLayer',
srcDir: './external/GMXCommonComponents/FireVirtualLayer',
distDir: './build',
build: true
}, {
id: 'GmxWidget',
srcDir: './external/GMXCommonComponents/GmxWidget',
build: false
}, {
id: 'SwitchingCollectionWidget',
srcDir: './external/GMXCommonComponents/SwitchingCollectionWidget',
build: false
}, {
id: 'CollectionFilterWidget',
srcDir: './external/GMXCommonComponents/CollectionFilterWidget',
build: false
}, {
id: 'CompositeScrollView',
srcDir: './external/GMXCommonComponents/CompositeScrollView',
build: false
}, {
srcDir: './external/GMXCommonComponents/CommonStyles',
id: 'CommonStyles',
distDir: './build',
build: true
}, {
id: 'ScrollView',
srcDir: './external/GMXCommonComponents/ScrollView',
distDir: './build',
build: true
}, {
id: 'LayersDebugger',
srcDir: './external/GMXCommonComponents/LayersDebugger',
build: false
}, {
id: 'LayersTree',
srcDir: './external/GMXCommonComponents/LayersTree',
distDir: './build',
build: true
}, {
id: 'ComponentsManager',
srcDir: './external/GMXCommonComponents/ComponentsManager',
distDir: './build',
build: true
}, {
id: 'AnimationHelpers',
srcDir: './external/GMXCommonComponents/AnimationHelpers',
build: false
}, {
id: 'IconSidebarControl',
srcDir: './external/GMXCommonComponents/IconSidebarControl',
build: false
}, {
id: 'LayersTreeWidget',
srcDir: './external/GMXCommonComponents/LayersTreeWidget',
distDir: './build',
build: true
}, {
id: 'StateManager',
srcDir: './external/GMXCommonComponents/StateManager',
build: false
}, {
id: 'winnie.core',
srcDir: './external/winnie-core',
distDir: './dist',
build: true
}, {
id: 'LayerMarkersCollection',
srcDir: './external/GMXCommonComponents/LayerMarkersCollection',
build: false
}, {
id: 'MergedCollection',
srcDir: './components/MergedCollection',
build: false
}, {
id: 'DropdownMenuWidget',
srcDir: './external/GMXCommonComponents/DropdownMenuWidget',
distDir: './build',
build: true
}, {
id: 'RadioGroupWidget',
srcDir: './components/RadioGroupWidget',
build: false
}, {
id: 'CheckboxWidget',
srcDir: './external/GMXCommonComponents/CheckboxWidget',
build: false
}, {
id: 'MarkerItemView',
srcDir: './external/GMXCommonComponents/MarkerItemView',
distDir: './build',
build: true
}, {
id: 'LabelIconWidget',
srcDir: './external/GMXCommonComponents/LabelIconWidget',
build: false
}, {
id: 'gmxUtils',
url: 'http://maps.kosmosnimki.ru/api/utilities.js'
}, {
id: 'DateInterval',
srcDir: './external/GMXCommonComponents/DateInterval',
build: false
}, {
id: 'CalendarWidget',
srcDir: './external/GMXCommonComponents/CalendarWidget',
distDir: './build',
build: true
}, {
id: 'ModalDialog',
srcDir: './components/ModalDialog',
build: false
}, {
id: 'AlertsWidget',
srcDir: './components/AlertsWidget',
build: false
}, {
id: 'MainMenuWidget',
srcDir: './components/MainMenuWidget',
distDir: 'build',
build: true
}, {
id: 'Main',
srcDir: './components/Main',
distDir: './build',
build: true
}, {
id: 'MobileSectionsMenuWidget',
srcDir: './components/MobileSectionsMenuWidget',
build: false
}]
});