class Gem::Tasks::SCM::Status
def define
Defines the `status` task.
def define namespace :scm do task :status do if dirty? error "Project has uncommitted changes!" status abort end end end # alias the `validate` task to scm:status task :validate => 'scm:status' end