Sha256: 1ef21d12f807e8f92b99d1d0559a2f45c82af45624162084cf437b5d22a1a84d

Contents?: true

Size: 417 Bytes

Versions: 2

Compression:

Stored size: 417 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

directory 'bourbon/lib'

desc "Generate bourbon directory for use outside Rails"
task :generate => 'bourbon/lib' do
  FileUtils.cp_r(Dir['app/assets/stylesheets/*'], 'bourbon/')
  FileUtils.cp_r(Dir['lib/*'], 'bourbon/lib/')

  FileUtils.rm_r('bourbon/lib/tasks')
  FileUtils.rm('bourbon/lib/bourbon/engine.rb')
  FileUtils.rm('bourbon/lib/bourbon/version.rb')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bourbon-1.3.0 Rakefile
bourbon-1.2.0 Rakefile