Sha256: 2807a9ff79e163e7b9b995bf7629717b6d63ca4efae06bdc9ea987419b83df0d
Contents?: true
Size: 417 Bytes
Versions: 55
Compression:
Stored size: 417 Bytes
Contents
module Dev module Cmd class Commit < Array def refresh strip_auto_entries File.open('commit.message','w'){|f|f.puts "commit all"} if !File.exists?('commit.message') self << "{:cmd=>'git commit -a -F commit.message',:auto=>true}" if File.exists?(".git") self << "{:cmd=>'svn commit -F commit.message',:auto=>true}" if File.exists?(".svn") end end # class Compile end # module Cmd end # module Dev
Version data entries
55 entries across 55 versions & 1 rubygems