     .pipe gulp.dest('.')
 
 gulp.task 'compile', ['compile-zip'], ->
-  rmdirp compile_path # useless after zipped
+  fs.removeSync compile_path # useless after zipped
 
 
 # create a 'watched' folder for testing


# initiate the output folder
initDir = (dir_path) ->
  rmdirp dir_path
  fs.mkdirSync dir_path



resources_path = '_resources'


# language handlers
compileLang = (lang_name, dest_dir, options) ->
  this_lang = lang[lang_name]

  fs.mkdirs path.join(dest_dir, this_lang.dest)

  compileLangHandler this_lang, getSourcePath(this_lang), dest_dir, options
compileLangHandler = (this_lang, source_path, dest_dir, options) ->
