mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00
13 lines
241 B
Ruby
13 lines
241 B
Ruby
require 'sass'
|
|
require 'bootstrap-sass'
|
|
|
|
css = Sass.compile(
|
|
File.read(File.expand_path('./import_all.sass', File.dirname(__FILE__))),
|
|
:syntax => 'sass'
|
|
)
|
|
|
|
if ARGV[0]
|
|
File.open(ARGV[0], 'w') { |f| f.write css }
|
|
else
|
|
puts css
|
|
end
|