Sha256: 249e50c9a59abbe1bf6d785c6346f2337bcf5250b059b3dd241df31c23ca7cd8

Contents?: true

Size: 518 Bytes

Versions: 6

Compression:

Stored size: 518 Bytes

Contents

# Complete
module AppDrone
class Stylesheet < Drone
  desc "Generates application.css.sass with manifest options and imports"
  depends_on :bundle

  attr_accessor :pipeline_requires, :imports
  def pipeline(r); self.pipeline_requires << r end
  def import(i); self.imports << i end

  def setup
    self.pipeline_requires = []
    self.imports = []
  end

  def align
    bundle.add 'therubyracer'
    bundle.add 'compass-rails'
    self.import 'compass'
  end

  def execute
    do! :application_sass
  end

end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
app_drone-0.3.4 lib/app_drone/drones/stylesheet/stylesheet.rb~
app_drone-0.3.3 lib/app_drone/drones/stylesheet/stylesheet.rb~
app_drone-0.3.2 lib/app_drone/drones/stylesheet/stylesheet.rb~
app_drone-0.3.1 lib/app_drone/drones/stylesheet/stylesheet.rb~
app_drone-0.2.1 lib/app_drone/drones/stylesheet/stylesheet.rb~
app_drone-0.2.0 lib/app_drone/drones/stylesheet/stylesheet.rb~