-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJFile
38 lines (34 loc) · 816 Bytes
/
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
# 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/
#
version '0.0.7'
# put your development files here
#
src_dir './src'
# Define one or more JavaScript bundles
#
bundle 'bootic_cart.js' do
license 'license.txt'
# Templating engine
# https://github.com/premasagar/tim
file 'tim.js'
file 'head.js'
file 'utils.js'
file 'events.js'
file 'bootic_cart.js'
file 'html_data_api.js'
file 'foot.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'