-
Notifications
You must be signed in to change notification settings - Fork 0
/
JFile
60 lines (56 loc) · 1.58 KB
/
JFile
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
# The JFile defines your JavaScript library and its dependencies.
# Read more on https://github.com/ismasan/jbundle/blob/master/README.md
#
# Version.
# jbundle command will put source and minified versions in
# - dist/0.0.1/
# - dist/0.0/
#
Closure::Compiler::DEFAULT_OPTIONS[:language_in] = 'ECMASCRIPT5'
version '0.0.1'
# put your development files here
#
src_dir './src/'
# Define one or more JavaScript bundles
#
bundle 'wally.js' do
license 'license.txt'
file 'lib/handlebars-1.0.0.beta.6.js'
file 'lib/ember-1.0.pre.js'
file 'lib/ember-data.js'
file 'lib/jquery.timeago.js'
file 'lib/easyXDM.js'
file 'lib/jquery.ba-resize.min.js'
file 'lib/resizer.js'
file 'support/transforms.js'
file 'support/handlebars_helpers.js'
file 'config/timeago.js'
file 'dom-effects/wally-effects.js'
file 'app.js'
file 'support/rest_adapter.js'
file 'models/wall.js'
file 'models/entry.js'
file 'models/author.js'
file 'models/post.js'
file 'models/answer.js'
file 'controllers/application_controller.js'
file 'controllers/wall_controller.js'
file 'controllers/new_post_controller.js'
file 'controllers/post_list_controller.js'
file 'views/application_view.js'
file 'views/wall_view.js'
file 'views/post_view.js'
file 'views/answer_view.js'
file 'views/new_post_view.js'
file 'views/post_list_view.js'
file 'views/new_answer_view.js'
file 'router.js'
end
# Optional post-bundling filter, for example for string substitution
#
filter do |src, config|
src.gsub /<VERSION>/, config.version.to_s
end
# your packaged, versioned releases go here
#
target_dir 'dist'