Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-sass.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2014-06-24 04:57:06 +0400
committerGleb Mazovetskiy <glex.spb@gmail.com>2014-06-24 05:08:13 +0400
commit0cbe7255b5ef45ba79ab684b61bf2d2443876e84 (patch)
treec3dad44326f643add3547d94353f73da0b2d05eb /Rakefile
parent380194abaf1721915e763dfc4a1ca29ebf3eaaa7 (diff)
pure scss asset helpers, new paths
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 58e4337c..92a3c4b9 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)