Sha256: fd864b55ea486eb4ba07c29507bfb29c674ed932c22b42f1792126ffbcd95326
Contents?: true
Size: 674 Bytes
Versions: 2
Compression:
Stored size: 674 Bytes
Contents
# Incomplete module AppDrone class Stylesheet < Drone desc "Generates application.css.sass with manifest options and imports" # TODO are manifests necessary? Favor @import attr_accessor :requires, :imports def add_require(r); self.requires << r end def add_import(i); self.imports << i end def setup self.requires = [] self.imports = [] end def align bundle.add 'therubyracer' bundle.add 'compass-rails' self.add_import 'compass' end def execute do! :application_sass # TODO currently using .scss and not .sass, switch to the cleaner syntax # TODO render css utils (or make this a separate integration) end end end
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
app_drone-0.1.0 | lib/app_drone/drones/stylesheet/stylesheet.rb |
app_drone-0.1.0 | lib/app_drone/drones/stylesheet/stylesheet.rb~ |