Sha256: cde5bbd54ad550b944f355178b0a7adbe63482240a4b92f64d98a005bcc0b13f

Contents?: true

Size: 410 Bytes

Versions: 5

Compression:

Stored size: 410 Bytes

Contents

require 'rake'
require 'rake/clean'
require 'cxxproject/ext/filelist'

module Cxxproject
  module Utils

    def self.cleanup_rake()
      ALL_BUILDING_BLOCKS.clear
      Rake.application.clear
      Rake.application.idei.set_abort(false)
      CLEAN.pending_add.clear
      CLEAN.items.clear
      task :clean do
        CLEAN.each { |fn| rm_r fn rescue nil }
      end
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cxxproject-0.5.63 lib/cxxproject/utils/cleanup.rb
cxxproject-0.5.62 lib/cxxproject/utils/cleanup.rb
cxxproject-0.5.61 lib/cxxproject/utils/cleanup.rb
cxxproject-0.5.60 lib/cxxproject/utils/cleanup.rb
cxxproject-0.5.59 lib/cxxproject/utils/cleanup.rb