Sha256: b268cacd61e35d2fdac8d173c97cb47ba60972b3b38be9e05c8da0e62d5657cd

Contents?: true

Size: 367 Bytes

Versions: 3

Compression:

Stored size: 367 Bytes

Contents

# -*- mode: ruby; coding: utf-8 -*-


%w[status diff push pull].each do |t|
  task t.intern => "git:#{t}"
end


namespace :git do


  git = env :GIT, 'git'


  task :status do
    sh %( #{git} status )
  end

  task :diff do
    sh %( #{git} diff | cat )
  end

  task :push do
    sh %( #{git} push )
  end

  task :pull do
    sh %( #{git} pull )
  end


end# :git

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xot-0.1.6 task/git.rake
xot-0.1.5 task/git.rake
xot-0.1.4 task/git.rake