Module: GitFonky
- Defined in:
- lib/git_fonky.rb,
lib/git_fonky/parser.rb,
lib/git_fonky/version.rb,
lib/git_fonky/reporter.rb,
lib/git_fonky/repository.rb
Defined Under Namespace
Classes: Error, Parser, PullError, PushError, Reporter, Repository
Constant Summary collapse
- GFONK_DIR =
ENV["GFONK_DIR"] || "#{Dir.home}/code"
- VERSION =
"2.1.0"
Class Method Summary collapse
Class Method Details
.sync_repos ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/git_fonky.rb', line 16 def self.sync_repos Dir.chdir(GFONK_DIR) do Parser.parse_env.each do |repo_config| Repository.new(**repo_config.compact!).sync puts "\n" * 3 end end puts "Process complete. See output for any errors or warnings." puts "DON'T FAKE THE FONK!" end |