Sha256: 42fb3144402bc563849bd5c415d3c352ee59c2a4830cc8f63e73f8af459a26ce
Contents?: true
Size: 699 Bytes
Versions: 8
Compression:
Stored size: 699 Bytes
Contents
module QEDProject module Libraries class Skeleton < QEDProject::Libraries::Base library :skeleton depends_on [:jquery] set_js_files [] set_css_files ["base.css", "skeleton.css", "layout.css" ] set_image_files [ "apple-touch-icon-114x114.png", "apple-touch-icon-72x72.png", "apple-touch-icon.png", "favicon.ico" ] def generate! super return true if self.project.skip_index index_file = File.join(self.project.path, self.project.public_dir, "index.html") FileUtils.rm_rf index_file if File.exist?(index_file) render_template "index.html", index_file end end end end
Version data entries
8 entries across 8 versions & 1 rubygems