-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulpfile.coffee
31 lines (27 loc) · 926 Bytes
/
gulpfile.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
30
31
# coffeelint: disable=max_line_length
gulp = require 'gulp'
webBuildTasks = require 'web-build-tasks'
rootGlobs = ['./app/src/index.coffee', './app/src/ai-worker.coffee']
cdnEntries = [
{
file: '/bower_components/jquery/dist/jquery.min.js'
package: 'jquery'
cdn: 'http://code.jquery.com/jquery-${ version }.min.js'
}
{
file: '/bower_components/bootstrap/dist/css/bootstrap.min.css'
package: 'bootstrap'
cdn: 'https://maxcdn.bootstrapcdn.com/bootstrap/${ version }/css/bootstrap.min.css'
}
{
file: '/bower_components/bootstrap/dist/js/bootstrap.min.js'
package: 'bootstrap'
cdn: 'https://maxcdn.bootstrapcdn.com/bootstrap/${ version }/js/bootstrap.min.js'
}
{
file: '/bower_components/spin.js/spin.min.js'
package: 'spin.js'
cdn: 'https://cdnjs.cloudflare.com/ajax/libs/spin.js/${ version }/spin.min.js'
}
]
webBuildTasks.define gulp, {rootGlobs, cdnEntries}