From 0cbe7255b5ef45ba79ab684b61bf2d2443876e84 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Tue, 24 Jun 2014 02:57:06 +0200 Subject: pure scss asset helpers, new paths --- Rakefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 58e4337..92a3c4b 100644 --- a/Rakefile +++ b/Rakefile @@ -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) -- cgit v1.2.3