Sha256: f68596c1f28b00c2d36d375b996c0ba2d69e0e205883f81a45284f497900556b
Contents?: true
Size: 365 Bytes
Versions: 3
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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nanoc-3.8.0 | lib/nanoc/tasks/clean.rake |
nanoc-3.7.5 | lib/nanoc/tasks/clean.rake |
nanoc-3.7.4 | lib/nanoc/tasks/clean.rake |