lib/ascii_binder/tasks/tasks.rb in ascii_binder-0.1.2 vs lib/ascii_binder/tasks/tasks.rb in ascii_binder-0.1.3
- old
+ new
@@ -6,11 +6,11 @@
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)
+ generate_docs(:all,build_distro,nil)
end
desc "Package the documentation"
task :package, :package_site do |task,args|
package_site = args[:package_site] || ''
@@ -19,10 +19,10 @@
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])
+ generate_docs(:working_only,'',args[:single_page])
end
desc "Clean all build artifacts"
task :clean do
sh "rm -rf _preview/* _package/*" do |ok,res|