Sha256: 075354832bd47bbc4cfce91202a28d200edc8b4f1f094429713b422df72709e6

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

Contents

#
# Copyright:: Copyright (c) 2012-2014 Chef Software, 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

4 entries across 4 versions & 1 rubygems

Version Path
omnibus-2.0.2 lib/omnibus/clean_tasks.rb
omnibus-2.0.1 lib/omnibus/clean_tasks.rb
omnibus-2.0.0 lib/omnibus/clean_tasks.rb
omnibus-2.0.0.rc1 lib/omnibus/clean_tasks.rb