0x1eef
29bc167fa0
This change will hopefuly make it easier to scale the Rules file over time. Rather than having one file with all rules, there are multiple files that are categorized. Ref #2
20 lines
344 B
Ruby
20 lines
344 B
Ruby
#!/usr/bin/env ruby
|
|
|
|
##
|
|
# Contains rules that are related to assets (eg images, fonts, etc)
|
|
|
|
##
|
|
# Fonts
|
|
compile "/fonts/*" do
|
|
write(item.identifier.to_s)
|
|
filter :gzip_binary
|
|
write("#{item.identifier}.gz")
|
|
end
|
|
|
|
##
|
|
# Images
|
|
compile "/images/*.svg" do
|
|
write(item.identifier.to_s)
|
|
filter :gzip_binary
|
|
write("#{item.identifier}.gz")
|
|
end
|