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

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2014-02-25 04:02:38 +0400
committerGleb Mazovetskiy <glex.spb@gmail.com>2014-02-25 04:05:23 +0400
commit347a33e3b0e6932dc5968f65ef9ce83d159dc71c (patch)
treecbbe1db2381f7118db85032fca3cd00c7d92361d /Rakefile
parentee8b356a3caa12aee73ee4c5c67dc629cd8bba8c (diff)
rake compile minor fixes #540
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index e12012d..4bc3114 100644
--- a/Rakefile
+++ b/Rakefile
@@ -43,7 +43,7 @@ task :compile, :css_path do |t, args|
puts Term::ANSIColor.cyan(" #{save_path}") + '...'
engine = Sass::Engine.for_file("#{path}/#{file}.scss", syntax: :scss, load_paths: [path])
css = engine.render
- File.mkdir('tmp') unless File.directory?('tmp')
+ Dir.mkdir('tmp') unless File.directory?('tmp')
File.open(save_path, 'w') { |f| f.write css }
end
end