Sha256: bc791efb66fb303783794adb1450cbcdef83cfe464e32d351473aee83e13b2df
Contents?: true
Size: 249 Bytes
Versions: 5
Compression:
Stored size: 249 Bytes
Contents
require_relative('./push.rb') require_relative('./environment.rb') class Push < CommandArray def update if(Environment.scm=='git') if(`git diff @{u}`.include?('diff')) self.add "<%`git push 2>&1`%>" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
dev_tasks-1.0.11 | lib/push.rb |
dev_tasks-1.0.10 | lib/push.rb |
dev_tasks-1.0.9 | lib/push.rb |
dev_tasks-1.0.8 | lib/push.rb |
dev_tasks-1.0.7 | lib/push.rb |