Sha256: ef88c4efd0fa6a13081ad06400396a1afcb3ca7631031b7af04d814bcc5d74aa
Contents?: true
Size: 817 Bytes
Versions: 6
Compression:
Stored size: 817 Bytes
Contents
require 'rake' require 'ascii_binder' include AsciiBinder::Helpers desc "Build the documentation" task :build, :build_distro do |task,args| # Figure out which distros we are building. # A blank value here == all distros build_distro = args[:build_distro] || '' generate_docs(build_distro) end desc "Package the documentation" task :package, :package_site do |task,args| package_site = args[:package_site] || '' Rake::Task["clean"].invoke Rake::Task["build"].invoke package_docs(package_site) end desc "Build the documentation and refresh the page" task :refresh_page, :single_page do |task,args| generate_docs('',args[:single_page]) end desc "Clean all build artifacts" task :clean do sh "rm -rf _preview/* _package/*" do |ok,res| if ! ok puts "Nothing to clean." end end end
Version data entries
6 entries across 6 versions & 1 rubygems