 # @param {Object} options An obj of configuration options
 # @return {Function} Returns itself for chainability
 
+@currentDir = path.join(__dirname, '..', '..', '..')
+
 module.exports = (options = {}) =>
 
   # Expand asset globs

# Deletes all of the files in the assets directory.

clearAssetsDir = =>
  rimraf.sync "#{process.cwd()}/#{@publicDir}/assets"
  fs.mkdirSync(process.cwd() + @_outputDir, '0755')

# Goes through asset declarations and expands them into full file paths, globs and all.
expandAssetGlobs = =>
  assets = {js: {}, css: {}, jst: {}}
  appDir = @currentDir.replace(/\\/g, "\/")
  for key, obj of @originalAssets
    for pkg, patterns of @originalAssets[key]
      matches = []
