/**
 * Created by long on 18/6/28.
 */
var fs = require("fs");
var util = require("./util")
var config = require("./config")
var path = require("path");

var sourceFolder = config.sourceFolder();

module.exports = function(platform, singleFile, zipFile) {
    var publishFolder = config.publishFolder(platform);
    util.copyDir(sourceFolder, publishFolder);
    util.generateNativeShell(platform, function() {
        util.generateNativeWeb(platform);
    })
}