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.8.6 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.8.5 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.8.4alpha lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.8.3 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.8.2 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.8.1 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.8.0 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.7.0 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.6.1 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.6.0 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.5.2 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.5.1 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.5.0 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.4.0 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.3.4 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.3.3 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.3.2 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.3.1 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.2.1 lib/app_drone/drones/stylesheet/stylesheets.rb~
app_drone-0.2.0 lib/app_drone/drones/stylesheet/stylesheets.rb~