diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-06-24 04:57:06 +0400 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-06-24 05:08:13 +0400 |
commit | 0cbe7255b5ef45ba79ab684b61bf2d2443876e84 (patch) | |
tree | c3dad44326f643add3547d94353f73da0b2d05eb /Rakefile | |
parent | 380194abaf1721915e763dfc4a1ca29ebf3eaaa7 (diff) |
pure scss asset helpers, new paths
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -13,7 +13,6 @@ end desc 'Dumps output to a CSS file for testing' task :debug do require 'sass' - require './lib/bootstrap-sass/sass_functions' path = Bootstrap.stylesheets_path %w(bootstrap).each do |file| engine = Sass::Engine.for_file("#{path}/#{file}.scss", syntax: :scss, load_paths: [path]) @@ -36,10 +35,9 @@ end desc 'Compile bootstrap-sass to tmp/ (or first arg)' task :compile, :css_path do |t, args| require 'sass' - require 'bootstrap-sass/sass_functions' require 'term/ansicolor' - path = 'vendor/assets/stylesheets' + path = 'assets/stylesheets' css_path = args.with_defaults(css_path: 'tmp')[:css_path] puts Term::ANSIColor.bold "Compiling SCSS in #{path}" Dir.mkdir(css_path) unless File.directory?(css_path) |