m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/lib/statics.rb
blob: 520e2136561a09e2b43f51ed391fdca524145065 (plain)
1
2
3
4
5
6
7
8
def write_statics statics
  statics = statics.each do | filename |
    source = src filename
    target = build filename
    FileUtils.mkdir_p(File.dirname target)
    FileUtils.cp_r source, target
  end
end