Sha256: bd869ad69b159569b4a43f5bc37d6acd8f5597f6c2c705615dbfbb03323b2747

Contents?: true

Size: 1.32 KB

Versions: 9

Compression:

Stored size: 1.32 KB

Contents

##############################
##############################
#https://gist.github.com/unixmonkey/323198
#https://gist.github.com/evandrodutra/177372
##############################
##############################
#
# production:
#   color: 'blue'                #result: !color = blue
#   host: 'http://example.com'   #result: !host = http://example.com
# development:
#   color: 'red'
#   host: 'http://localhost:3000'
# test:
#   color: 'gray' #result: !color = gray
#   host: 'http://localhost:3000'
#
##############################
##############################
#
# Notes
# -> If you include several instances of the same variable, only the last one will be saved
# -> Whilst you can use the environment-based defintiions as above, you can also define variables on their own
# -> You can also include "groups" which allow you to create variables based on the grouped identity for them all
#
##############################
##############################

# Declarations
INPUT  = File.join(Rails.root, "config", "sass.yml")
OUTPUT = File.join(Rails.root, "vendor", "assets", "stylesheets", "_variables.sass")

##############################
##############################

begin
  File.open(OUTPUT, 'w+') do |file|
    file.write FL::AssetHelper.sass INPUT
  end
rescue => e
  puts e
end

##############################
##############################

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fl-0.3.9 config/initializers/sass.rb
fl-0.3.8 config/initializers/sass.rb
fl-0.3.6 config/initializers/sass.rb
fl-0.3.5 config/initializers/sass.rb
fl-0.3.4 config/initializers/sass.rb
fl-0.3.3 config/initializers/sass.rb
fl-0.3.2 config/initializers/sass.rb
fl-0.3.1 config/initializers/sass.rb
fl-0.3.0 config/initializers/sass.rb