Sha256: bb78867388c2343874c6b4f105be3fe6525eb88c1b16de6f61dd78efbad811aa
Contents?: true
Size: 439 Bytes
Versions: 14
Compression:
Stored size: 439 Bytes
Contents
module Distil class HtmlProduct < Product content_type "html" variants [RELEASE_VARIANT] def build folder= File.dirname(output_path) FileUtils.mkdir_p(folder) files.each { |f| product_path= File.join(folder, File.basename(f)) FileUtils.rm product_path if File.exists? product_path File.symlink f.path_relative_to(folder), product_path } end end end
Version data entries
14 entries across 14 versions & 1 rubygems