Sha256: 29c9d051e9f34f787db1825ad640aba21e76dfb685f70d57d36a07e480ee29e1

Contents?: true

Size: 581 Bytes

Versions: 1

Compression:

Stored size: 581 Bytes

Contents

css_path = 'app/assets/stylesheets/'
application_css_path = "#{css_path}application.css"

prepend_to_file application_css_path do
<<IMPORTS
@import 'bourbon';
@import 'base/base';
@import 'neat';
IMPORTS
end

gsub_file application_css_path, /\*= require_tree \./, '*'

inside(css_path) do
  system 'bundle exec bitters install'
end

gsub_file "#{css_path}base/_base.scss", %r{// @import 'grid-settings';}, "@import 'grid-settings';"

system "mv #{application_css_path} #{css_path}application.css.scss"

git rm: application_css_path
git add: css_path
git_commit 'Install bourbon.'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pah-0.0.15 lib/pah/partials/_bourbon.rb