diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-05-01 09:59:10 +0400 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-05-01 09:59:10 +0400 |
commit | 8adf1840019909e10fe3364c246fec4079f84252 (patch) | |
tree | 278bb884b54862c9f2d85d48018d041a0759d153 /Rakefile | |
parent | 29dc8a4366e9614d4368b2c2b7b20aafbbb0c297 (diff) |
Rakefile: load path
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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' |