Method: YMDP::GitHelper#do_commit

Defined in:
lib/ymdp/compiler/git_helper.rb

#do_commit(message) ⇒ Object



20
21
22
23
24
# File 'lib/ymdp/compiler/git_helper.rb', line 20

def do_commit(message)
  repo = Repo.new(".")
  repo.add(".")
  $stdout.puts F.execute("git commit -am \"#{message}\"", :return => true)
end