feat:初始化项目

This commit is contained in:
dengtongyu committed 2021-08-23 22:05:46 +08:00
commit ca52cf1bc0
486 files changed
+56656

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
/**
* Created by littledu on 15/4/28.
*/
var util = require('./../lib/util');
var path = require('path');
module.exports = function(config){
var remotePath = config['ftp']['remotePath'] || "";
var url = 'http://' + path.join(remotePath, config['projectName'], 'dist/html/').replace(/\\/g, '/');
util.log(util.colors.magenta('copy to browser:') + url);
}