Skip to content

Instantly share code, notes, and snippets.

@drnic
Forked from jbarnette/default hoe tasks
Created September 24, 2009 05:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drnic/192524 to your computer and use it in GitHub Desktop.
Save drnic/192524 to your computer and use it in GitHub Desktop.
rake check_manifest # debug # Verify the manifest.
rake clean # # Clean up all the extras.
rake config_hoe # debug # Create a fresh ~/.hoerc file.
rake docs # publish # Build the RDoc HTML Files
rake install_gem # package # Install the package as a gem.
rake multi # test # Run the test suite using multiruby.
rake release # package # Package and upload the release.
rake test # test # Run the test suite.
# should probably just go on clean or clobber
rake clobber_docs # publish # Remove RDoc products
rake clobber_package # package # Remove package products
rake clobber_rcov # rcov # Remove rcov products for rcov
# I think default => test is a common enough thing that it doesn't need doco
rake default # test # Run the default task(s).
# These might not need to be public, the only time I ever run them
# directly is when something's gone wrong
rake post_blog # publish # Post announcement to blog.
rake post_news # publish # Post announcement to rubyforge.
rake publish_docs # publish # Publish RDoc to RubyForge.
# I think these are internal, and shouldn't have descs
rake release_sanity # package # Sanity checks for release
rake release_to_rubyforge # package # Release to rubyforge.
# I hate the 'task', 'retask', 'clobber_task' idiom that Rake's
# built-in tasks perpetuated, but I don't want to rewrite them
rake redocs # publish # Force a rebuild of the RDoc files
rake repackage # package # Force a rebuild of the package files
# I actually can't remember the last time I used this.
rake audit # test # Run ZenTest against the package.
# Hardcore tasks
rake debug_email # publish # Generate email announcement file.
rake debug_gem # debug # Show information about the gem.
rake deps:email # deps # Print a contact list for gems dependent on this gem
rake deps:fetch # deps # Fetch all the dependent gems of this gem into tarballs
rake deps:list # deps # List all the dependent gems of this gem
# Things Dr Nic doesn't use
rake announce # publish # Announce your release.
- I've always used "rake post_news" explicitly since its the only announcing task I use
rake check_extra_deps # deps # Install missing dependencies.
- "rake install_gem" does this too
rake gem # package # Build the gem file newproj-1.0.0.gem
- I've only run "rake install_gem"
rake generate_key # signing # Generate a key for signing your gems.
- I think I ran this once. Perhaps it could be called by "rake config_hoe" ?
- One-time tasks like this + "rake config_hoe" could be in a "hoe" executable?
rake package # package # Build all the packages
- I've only run "rake release"
rake rcov # rcov # Analyze code coverage with tests
- I don't believe in rcov as a useful tool
rake ridocs # publish # Generate ri locally for testing.
- I do use ri but have never wanted un-published gem docco in my ri
rake test_deps # test # Show which test files fail when run alone.
- Never thought to want this task. I guess I run each test in isolation via editor; and does it work for rspec?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment