Sha256: 3ed5dcfcb593120e2810876b2f81dec0d8ff1fe4fdb0905168b3feeba6de4915
Contents?: true
Size: 691 Bytes
Versions: 21
Compression:
Stored size: 691 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 setup self.requires = [] self.imports = [] (self >> Gems).add 'compass-rails' self.add_import 'compass' end def add_require(r); self.requires << r end def add_import(i); self.imports << i end def align (self >> Gems).add 'therubyracer' 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
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
app_drone-0.1.0 | lib/app_drone/drones/stylesheet/stylesheets.rb~ |