-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.coffee
68 lines (57 loc) · 1.52 KB
/
build.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
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
fs = require 'fs'
filePath = './lib/'
files = [
'vendor/underscore.min.js',
'vendor/backbone-min.js',
'vendor/jquery-ui-1.8.24.custom.min.js',
'vendor/jquery.easing.min.js',
'vendor/jquery.mousewheel.min.js',
'vendor/jquery.imagesloaded.min.js',
'vendor/jquery.mCustomScrollbar.js',
'vendor/jquery.jscrollpane.js',
'vendor/spin.min.js',
'vendor/mustache.js',
'nfn/nfn.js',
'nfn/core/config.js',
'nfn/core/log.js',
'nfn/core/profiler.js',
'nfn/core/template.js',
'nfn/core/view.js',
'nfn/core/god.js',
'nfn/ui/widget.js',
'nfn/ui/spinner.js',
'nfn/ui/backdrop.js',
'nfn/ui/tooltip.js',
'nfn/ui/statusbar.js',
'nfn/ui/transcriptions.js',
'nfn/ui/transcriber.js',
'nfn/ui/photos.js',
'nfn/ui/closer.js',
'nfn/ui/popup.js',
'nfn/ui/discuss.js',
'nfn/ui/skipper.js',
'nfn/ui/herbarium/transcriber.js',
'nfn/ui/herbarium/widget.js',
'nfn/ui/herbarium/helper.js',
'nfn/ui/bugs/data/counties.js',
'nfn/ui/bugs/transcriber.js',
'nfn/ui/bugs/widget.js',
'nfn/ui/bugs/magnifier.js',
'nfn/ui/bugs/selection.js',
'nfn/ui/bugs/highlight.js',
'nfn/ui/bugs/helper.js',
'nfn/ui/bugs/metadata.js',
'nfn/ui/fungi/transcriber.js',
'nfn/ui/fungi/widget.js',
'nfn/ui/fungi/launcher.js',
'nfn/ui/fungi/magnifier.js',
'nfn/ui/fungi/selection.js',
'nfn/ui/fungi/highlight.js',
'nfn/ui/fungi/helper.js'
]
source = ''
processFiles = ->
for file in files
source += fs.readFileSync filePath + file
fs.writeFileSync __dirname + '/public/nfn/build.js', source
processFiles()