 
 
 generateApp = (opts, i) ->
+  console.log "generateApp", i
   plug = []
   plug.push "Plugin = function(name){this.name = (name != null) ? name : 'defaultName';};"
   plug.push "Plugin.prototype.data = function(){return {plugData:true};};"

  fs.writeFileSync(dir+'/input/'+i+'/main/temp.js', "require('./code1')") # write blank entry point (but require one of the plugin files)

exports["test CLI#complicated"] = ->
  num_tests = 8
  initDirs(num_tests)
  for k in [0...num_tests] then do (k) ->
    opts = {}
    opts =
      dom     : k % 2 is 0

        count += 2

      testsDone(count)
      return
    return
  return

