forked from ryanto/ember-flash-message
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAssetfile
47 lines (39 loc) · 721 Bytes
/
Assetfile
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
mode = ENV['RAKEP_MODE'] || 'development'
output "compiled"
input "lib" do
match "**/*.js" do
filter(
Rake::Pipeline::OrderingConcatFilter,
[
"main.js"
],
"flash-message.js"
)
end
end
input "vendor/js" do
match "*.js" do
filter(
Rake::Pipeline::OrderingConcatFilter,
[
"jquery.js",
"handlebars.js",
"ember.js",
],
"vendor.js"
)
end
end
input "vendor/css" do
match "*.css" do
filter Rake::Pipeline::OrderingConcatFilter, [], "vendor.css"
end
end
input "tests" do
match "index.html" do
copy
end
match "**/*_test.js" do
filter Rake::Pipeline::OrderingConcatFilter, [], "tests.js"
end
end