     './dist/' + manifest.name + '-*-full.nupkg'
     '!./dist/' + manifest.name + '-' + manifest.version + '-full.nupkg'
   ]
+    .then result -> console.log result
 
 # Clean dist for the current platform by default
 gulp.task 'clean:dist', ['clean:dist:' + platform()]

    './build/darwin64/' + manifest.productName + '.app/Contents/Resources/default_app.asar'
    './build/darwin64/' + manifest.productName + '.app/Contents/Resources/electron.icns'
  ]

# Remove the default_app folder inside the linux builds
['linux32', 'linux64'].forEach (dist) ->
  gulp.task 'clean:build:' + dist, ['download:' + dist], ->
    del './build/' + dist + '/opt/' + manifest.name + '/resources/default_app.asar'

# Remove the default_app folder inside the win32 build
gulp.task 'clean:build:win32', ['download:win32'], ->
  del './build/win32/resources/default_app.asar'

# Clean build dist for the current platform by default
gulp.task 'clean:build', ['clean:build:' + platform()]

# Clean all the dist files for darwin64 and make sure the dir exists
gulp.task 'clean:dist:darwin64', ->
  del './dist/' + manifest.productName + '-' + manifest.version + '-osx.dmg'
    .then result -> console.log result
    .then -> fs.ensureDirAsync './dist'

# Just ensure the dir exists (dist files are overwritten)
