 path = require 'path'
 
+_ = require 'underscore-plus'
 async = require 'async'
 CSON = require 'season'
-_ = require 'underscore-plus'
 yargs = require 'yargs'
-CSON = require 'season'
+Git = require 'git-utils'
 semver = require 'npm/node_modules/semver'
 temp = require 'temp'
 hostedGitInfo = require 'hosted-git-info'

  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

  constructor: ->
    @atomDirectory = config.getAtomDirectory()
    @atomPackagesDirectory = path.join(@atomDirectory, 'packages')
    @atomNodeDirectory = path.join(@atomDirectory, '.node-gyp')
    @atomNpmPath = require.resolve('npm/bin/npm-cli')
    @atomNodeGypPath = require.resolve('npm/node_modules/node-gyp/bin/node-gyp')
