Sha256: a9e8012e8e96a55fd76925fb9408e1b78f2f2b3efdab8fd402f0a55b3c47fddb

Contents?: true

Size: 767 Bytes

Versions: 6

Compression:

Stored size: 767 Bytes

Contents

# rake decko:docs:...

# NOTE: for the moment these are Platypus tasks.
# Until they're more monkey friendly, let's not write descriptions
#
# Make sure: you're:
#   (A) running in a development environment, and
#   (B) pointing to a repo gem
namespace :decko do
  namespace :docs do
    # trigger tmpsets and then run yardoc
    task :update do
      Rake::Task["decko:tmpsets:trigger"].invoke
      Rake::Task["decko:docs:yardoc"].invoke
    end

    # run yardoc command, which generates the docs content in the repo root
    #
    # If you run this while decko is a gem, you could get some funky docs in
    # your gems directory...
    task :yardoc do
      doc_dir = File.expand_path "..", Decko.gem_root
      system %(cd #{doc_dir}; yardoc)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decko-0.11.5 lib/decko/tasks/decko/docs.rake
decko-0.11.4 lib/decko/tasks/decko/docs.rake
decko-0.11.3 lib/decko/tasks/decko/docs.rake
decko-0.11.2 lib/decko/tasks/decko/docs.rake
decko-0.11.1 lib/decko/tasks/decko/docs.rake
decko-0.11.0 lib/decko/tasks/decko/docs.rake