Sha256: 5b82068e65ab1054bdc1e937ea57976d9621318818e5ecf0f1a0c5008e6f5d51
Contents?: true
Size: 635 Bytes
Versions: 1
Compression:
Stored size: 635 Bytes
Contents
require 'colorize' require_relative '../util/submodule' module GGSM module Finish include Submodule def finish_flow check_submodule subs = get_submodule subs.each do |sub| Dir.chdir sub puts "==> 进入#{sub}:".yellow system 'git add .' system 'git commit' system "git push origin #{get_current_branch}" Dir.chdir '..' end puts '==> 进入主工程:'.yellow system 'git add .' system 'git commit' system "git push origin #{get_current_branch}" puts 'Modules执行:git add & commit & push'.blue end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ggsm-1.1.2 | lib/ggsm/flow/finish.rb |