Sha256: f1cde6d10ff81dfda61347735458bc13569a7dfdb0b40f0de379bfaa01e29d3a

Contents?: true

Size: 1.13 KB

Versions: 10

Compression:

Stored size: 1.13 KB

Contents

#
# Copyright:: Copyright (c) 2012 Opscode, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# Adds source and build artifacts to Rake's CLEAN list, and install
# and cache artifacts to its CLOBBER list, ensuring that the `clean`
# and `clobber` Rake tasks do the right thing for Omnibus projects.
#
# @see https://github.com/jimweirich/rake/blob/master/lib/rake/clean.rb

require 'rake/clean'

::CLEAN.include("#{Omnibus.config.source_dir}/**/*",
                "#{Omnibus.config.build_dir}/**/*")

::CLOBBER.include("#{Omnibus.config.cache_dir}/**/*",
                  "#{Omnibus.config.package_dir}/**/*")

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
omnibus-1.3.0 lib/omnibus/clean_tasks.rb
omnibus-sonian-1.2.0.1 lib/omnibus/clean_tasks.rb
omnibus-1.2.0 lib/omnibus/clean_tasks.rb
omnibus-1.1.1 lib/omnibus/clean_tasks.rb
omnibus-1.1.0 lib/omnibus/clean_tasks.rb
omnibus-1.0.4 lib/omnibus/clean_tasks.rb
omnibus-1.0.3 lib/omnibus/clean_tasks.rb
omnibus-1.0.2 lib/omnibus/clean_tasks.rb
omnibus-1.0.1 lib/omnibus/clean_tasks.rb
omnibus-1.0.0 lib/omnibus/clean_tasks.rb