Method: PDK::Util::Git.git_paths
- Defined in:
- lib/pdk/util/git.rb
.git_paths ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/pdk/util/git.rb', line 8 def self.git_paths @paths ||= begin paths = [File.join(PDK::Util.pdk_package_basedir, git_bindir)] if Gem.win_platform? paths << File.join(PDK::Util.pdk_package_basedir, 'private', 'git', 'mingw64', 'bin') paths << File.join(PDK::Util.pdk_package_basedir, 'private', 'git', 'mingw64', 'libexec', 'git-core') paths << File.join(PDK::Util.pdk_package_basedir, 'private', 'git', 'usr', 'bin') end paths end end |