Sha256: da0c2e12b1a50f0ec109602f1016d5ca6159f18aa66b44f281c9782fceac2b7d
Contents?: true
Size: 561 Bytes
Versions: 5
Compression:
Stored size: 561 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') scm_type = Scm.get_default_scm_type if scm_type == "svn" self << "{:cmd=>'svn commit -F commit.message',:auto=>true,:throw_on_error=>false}" else if scm_type == "git" self << "{:cmd=>'git commit -a -F commit.message',:auto=>true}" #self << "{:cmd=>'git svn dcommit',:auto=>true}" end end end end # class Compile end # module Cmd end # module Dev
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
dev-1.0.223 | lib/dev/cmd/Commit.rb |
dev-1.0.222 | lib/dev/cmd/Commit.rb |
dev-1.0.221 | lib/dev/cmd/Commit.rb |
dev-1.0.220 | lib/dev/cmd/Commit.rb |
dev-1.0.219 | lib/dev/cmd/Commit.rb |