feat:初始化项目
This commit is contained in:
commit
ca52cf1bc0
486 files changed
+56656
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user