mirror of
https://github.com/rspec/rspec-metagem.git
synced 2022-11-09 12:09:29 -05:00
Updating the rakefile alias status as st, and add diff
This commit is contained in:
parent
f8e63c33ff
commit
2f2fa868ce
1 changed files with 3 additions and 1 deletions
4
Rakefile
4
Rakefile
|
@ -42,7 +42,7 @@ end
|
|||
task :default => :spec
|
||||
|
||||
namespace :git do
|
||||
[:status, :pull, :push, :reset].each do |key|
|
||||
[:status, :pull, :push, :reset, :diff].each do |key|
|
||||
command = key == :reset ? "reset --hard" : key.to_s
|
||||
desc "git #{command} on all the repos"
|
||||
task key do
|
||||
|
@ -55,4 +55,6 @@ namespace :git do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
task :st => :status
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue