Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

dsgn1graphics / verve-bootstrap-sass   js

Repository URL to install this package:

Version: 3.3.3 

/ test / dummy_sass_only / compile.rb

require 'sass'
require 'bootstrap-sass'
require 'fileutils'

scss_path = File.expand_path('./import_all.sass', File.dirname(__FILE__))
css = Sass.compile File.read(scss_path), syntax: 'sass'

if ARGV[0]
  FileUtils.mkdir_p File.dirname(ARGV[0])
  File.open(ARGV[0], 'w') { |f| f.write css }
else
  puts css
end