Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e041ea6612 | ||
|
|
ab51ddcc1b |
No files matched your search
@@ -32,6 +32,7 @@ module Rscons
|
||||
end
|
||||
# remove all created directories if they are empty
|
||||
cache.directories.sort {|a, b| b.size <=> a.size}.each do |directory|
|
||||
next unless File.directory?(directory)
|
||||
if (Dir.entries(directory) - ['.', '..']).empty?
|
||||
Dir.rmdir(directory) rescue nil
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module Rscons
|
||||
# gem version
|
||||
VERSION = "0.0.10"
|
||||
VERSION = "0.0.11"
|
||||
end
|
||||
Reference in new issue
Block a user