     #
     #
     archOpts.map (arch) ->
+        # create a task per platform/architecture
         gulp.task "deploy:#{plat}-#{arch}", ->
             deferred = Q.defer()
             args = this.currentTask.name.replace('deploy:', '').split('-')
             deploy args[0], args[1], () ->
                 deferred.resolve()
             deferred.promise
-
 #
 # task to deploy all
 gulp.task 'deploy', ->

}

#
# create tasks for different platforms and architectures supported
platformOpts.map (plat) ->
    gulp.task "deploy:#{plat}", ->
        args = this.currentTask.name.replace('deploy:', '')
        deferred = Q.defer()

Q          = require 'q'
tap        = require 'gulp-tap'
Stream     = require 'stream'

outapp = './app'
outui  = outapp + '/ui'
