               meta = i.split(/\./)
               apps[meta[1]] = meta[0]
 
-            console.log ('APP')
             appname = grunt.config.get 'APP_NAME'
             appid = apps[appname]
             grunt.config.set 'APP_ID', appid

        options:
          callback: (err, stdout, stderr, cb) ->
            return if grunt.config.get 'APP_ID'
            lines = stdout.split(/\n/).slice(3, -2)
            ids = lines.map (l) ->
              return l.split(/\s+/).slice(-1)[0]


      js:
        files: ['<%= JS_DIR %>**/*.js', '!<%= JS_LIBS_DIR %>**/*.js']
        tasks: ['copy:devjs']

    shell:
      package:
