Sha256: 8d9e21a7757b272f5861389dd5bf1310bd13bbaf4d4c6d644687243a15153c92
Contents?: true
Size: 388 Bytes
Versions: 14
Compression:
Stored size: 388 Bytes
Contents
# frozen_string_literal: true require 'sassc' require 'bootstrap-sass' require 'fileutils' load_path = ARGV[0] out_path = ARGV[1] output = SassC::Engine.new( File.read(File.expand_path('./import_all.scss', __dir__)), syntax: :scss, load_paths: ['.', load_path] ).render if out_path FileUtils.mkdir_p(File.dirname(out_path)) File.write(out_path, output) else puts output end
Version data entries
14 entries across 14 versions & 3 rubygems