Sha256: 218eae85e6fda74f9fcd1e0a86ae9c9dd40b49bb14de974edc9ca23df3b83a25

Contents?: true

Size: 355 Bytes

Versions: 2

Compression:

Stored size: 355 Bytes

Contents

require 'git-dirty/file_task'

module GitDirty
  #
  # This is the DSL method to use in a Rakefile, e.g.
  #
  # <code>
  # require 'git_dirty'
  # git_dirty_file '/tmp/git-dirty-status'
  # </code>
  #
  def git_dirty_file(*args, &block)
    GitDirty::FileTask.define_task(*args, &block)
  end
end

# Make the DSL globally available
self.extend GitDirty

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
git-dirty-1.0.1 lib/git-dirty.rb
git-dirty-1.0.0 lib/git-dirty.rb