   createAtomDirectories: ->
     fs.makeTreeSync(@atomDirectory)
     fs.makeTreeSync(@atomPackagesDirectory)
+    fs.makeTreeSync(@atomGitPackagesDirectory)
     fs.makeTreeSync(@atomNodeDirectory)
 
   # Compile a sample native module to see if a useable native build toolchain

  getHostedGitInfo: (name) ->
    hostedGitInfo.fromUrl(name)

  installGitPackage: (packageInfo, targetDir, callback) ->
    Develop = require './develop'
    develop = new Develop()

    if packageInfo.default is 'sshurl'
      url = packageInfo.toString()
      develop.cloneRepository url, targetDir, {}, callback
    else if packageInfo.default is 'https'
      develop.cloneRepository name, targetDir, {}, callback
    else if packageInfo.default is 'shortcut'
      url = packageInfo.https().replace(/^git\+https:/, "https:")
      develop.cloneRepository url, targetDir, {}, (error) ->
        if error
          # more error checking to make sure failure is because of protocol
          url = packageInfo.sshurl()
          develop.cloneRepository url, targetDir, {}, callback
        else
          callback()


path = require 'path'

async = require 'async'
CSON = require 'season'
_ = require 'underscore-plus'
yargs = require 'yargs'
CSON = require 'season'
