var path = require('path');
var fs = require('fs');
var customSettings = {};
if (fs.existsSync(path.join(process.cwd(), 'hoo-conf.js'))) {
  customSettings = require(path.join(process.cwd(), 'hoo-conf'));
}
var _ = require('../lib/util');
module.exports = _.assign({
  sourceDir: 'src', /*活动专题源码目录*/
  deployDir: 'dist', /*活动专题产出目录*/
  wwwSourceDir: 'src', /*官网源码目录*/
  wwwDeployDir: 'img1.37wanimg.com', /*官网静态资源存放目录*/
  wwwTplsDir: 'common.tpl.37.com', /*官网静态资源存放目录*/
  wwwDeployDomain: 'img1.37wanimg.com', /*官网静态资源存放目录*/
  wwwTplsDomain: 'common.tpl.37.com', /*官网静态资源存放目录*/
  openingRoot: '\/Users\/qinyadong\/Documents\/huodong.37.com',
  openingStaticPath: 'static', /*官网静态资源存放目录*/
  openingTemplatePath: 'template', /*开服页模板存放目录*/
  deployHost: 'http:\/\/huodong.37.com\/', /*活动专题发布主机*/
  svnIgnore: '.hoo_cache,.idea', /*提交svn时忽略的文件目录*/
  devTmpDir: '.hoo_cache', /*产出临时文件存放目录*/
  port: '80', /*静态资源服务器监听端口*/
  browserSyncPort: 3000,
  uploadScript: '',
  defaultUploadDir:'demo',
  wwwUploadScript: '',
  sftpHost:'14.18.204.66',
  sftpUsername:'qinyadong',
  sftpPassword:''
}, customSettings);
