Sha256: a7b3a691e44c841fc8dfe959937e250de7a5b725868d1cb00a1246178d2a32b2

Contents?: true

Size: 365 Bytes

Versions: 31

Compression:

Stored size: 365 Bytes

Contents

# encoding: utf-8

desc 'Remove output files generated by nanoc'
task :clean do
  # Load site
  site = Nanoc::Site.new('.')
  if site.nil?
    $stderr.puts 'The current working directory does not seem to be a ' +
                 'valid/complete nanoc site directory; aborting.'
    exit 1
  end

  # Clean
  clean = ::Nanoc::Tasks::Clean.new(site)
  clean.run
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
nanoc-3.7.3 lib/nanoc/tasks/clean.rake
nanoc-3.7.2 lib/nanoc/tasks/clean.rake
nanoc-3.7.1 lib/nanoc/tasks/clean.rake
nanoc-3.7.0 lib/nanoc/tasks/clean.rake
nanoc-3.6.11 lib/nanoc/tasks/clean.rake
nanoc-3.6.10 lib/nanoc/tasks/clean.rake
nanoc-3.6.9 lib/nanoc/tasks/clean.rake
nanoc-3.6.8 lib/nanoc/tasks/clean.rake
nanoc-3.6.7 lib/nanoc/tasks/clean.rake
nanoc-3.6.6 lib/nanoc/tasks/clean.rake
nanoc-3.6.5 lib/nanoc/tasks/clean.rake
nanoc-3.6.4 lib/nanoc/tasks/clean.rake
nanoc-3.6.3 lib/nanoc/tasks/clean.rake
nanoc-3.6.2 lib/nanoc/tasks/clean.rake
nanoc-3.6.1 lib/nanoc/tasks/clean.rake
nanoc-3.6.0 lib/nanoc/tasks/clean.rake
nanoc-3.5.0 lib/nanoc/tasks/clean.rake
nanoc-3.5.0b2 lib/nanoc/tasks/clean.rake
nanoc-3.5.0b1 lib/nanoc/tasks/clean.rake
nanoc-3.4.3 lib/nanoc/tasks/clean.rake