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-05-01 09:59:10 +0400
committerGleb Mazovetskiy <glex.spb@gmail.com>2014-05-01 09:59:10 +0400
commit8adf1840019909e10fe3364c246fec4079f84252 (patch)
tree278bb884b54862c9f2d85d48018d041a0759d153 /Rakefile
parent29dc8a4366e9614d4368b2c2b7b20aafbbb0c297 (diff)
Rakefile: load path
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index bed0290a..58e4337c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,3 +1,6 @@
+lib_path = File.join(File.dirname(__FILE__), 'lib')
+$:.unshift(lib_path) unless $:.include?(lib_path)
+
load './tasks/bower.rake'
require 'rake/testtask'
@@ -32,8 +35,6 @@ end
desc 'Compile bootstrap-sass to tmp/ (or first arg)'
task :compile, :css_path do |t, args|
- lib_path = File.join(File.dirname(__FILE__), 'lib')
- $:.unshift(lib_path) unless $:.include?(lib_path)
require 'sass'
require 'bootstrap-sass/sass_functions'
require 'term/ansicolor'