Sha256: 9594b26c6577c53d21a4fa3390625e9cac8ffdb92721b92c489527d1ff1ea0e0
Contents?: true
Size: 365 Bytes
Versions: 12
Compression:
Stored size: 365 Bytes
Contents
require "eddy" require "fileutils" namespace :misc do desc "Clean up temporary folders in project root" task :clean do dirs = [ "build", "coverage", "doc", "tmp", ".yardoc", ].each do |dir| path = File.join(Eddy::Util.root_dir, dir) if File.exist?(path) FileUtils.rm_r(dir) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems