Sha256: a2d80fcff3114aa0c3d30ea6d10b0002831edc27d65999be1c45f54120fd3dae
Contents?: true
Size: 764 Bytes
Versions: 4
Compression:
Stored size: 764 Bytes
Contents
require 'sdoc_all' task :default => :run def run_options dry_run = ENV['DRY_RUN'] verbose_level = ENV['VERBOSE_LEVEL'].to_i { :dry_run => dry_run, :verbose_level => dry_run ? 2 : verbose_level } end desc "Build/update documentation (DRY_RUN=true to skip execution of commands (sets VERBOSE_LEVEL to 1), VERBOSE_LEVEL: 0 (default) - only progress and explanations, 1 - output commands to be executed, 2 - output result of command execution)" task :run do SdocAll.run(run_options) end desc "Clobber documentation" task :clobber do rm_rf 'docs' rescue nil rm_rf 'public' rescue nil end namespace :run do desc "Force update sources, before building/updating" task :update do SdocAll.run(run_options.merge(:update => true)) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sdoc_all-1.0.7 | lib/tasks/sdoc_all_rake.rb |
sdoc_all-1.0.6 | lib/tasks/sdoc_all_rake.rb |
sdoc_all-1.0.5 | lib/tasks/sdoc_all_rake.rb |
sdoc_all-1.0.4 | lib/tasks/sdoc_all_rake.rb |