Sha256: 1fd6c73e741671118517e1f0db88ce92250192d4d7da73e2d9594fd85ed3d10f
Contents?: true
Size: 302 Bytes
Versions: 18
Compression:
Stored size: 302 Bytes
Contents
require 'sass' require 'helio' 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
Version data entries
18 entries across 18 versions & 1 rubygems