Skip to content

Instantly share code, notes, and snippets.

@leeight
Created May 5, 2014 03:54
Show Gist options
  • Save leeight/dc1b292a3ad27ffed231 to your computer and use it in GitHub Desktop.
Save leeight/dc1b292a3ad27ffed231 to your computer and use it in GitHub Desktop.
app/ecom/union/trunk/besc-static
diff --git a/edp-build-config.js b/edp-build-config.js
index 1719429..7aed5d9 100644
--- a/edp-build-config.js
+++ b/edp-build-config.js
@@ -42,25 +42,25 @@ exports.output = path.resolve(cwd, args.output || 'output');
* @type {Array}
*/
exports.exclude = [
- '/src/static/tpl/*',
- '/tool',
- '/test',
- '/mockup',
- '/demo',
- '/copyright.txt',
- '/index-debug.html',
- '/module.conf',
- '/dep/packages.manifest',
- '/dep/*/*/test',
- '/dep/*/*/doc',
- '/dep/*/*/demo',
- '/dep/*/*/tool',
- '/dep/*/*/*.md',
- '/dep/*/*/package.json',
- '/dep/echarts/*/src/util/mapData/rawData/china/*.js',
- '/dep/echarts/*/src/util/mapData/rawData/*.js',
- '/edp-*',
- '/.edpproj',
+ 'src/static/tpl/*',
+ 'tool',
+ 'test',
+ 'mockup',
+ 'demo',
+ 'copyright.txt',
+ 'index-debug.html',
+ 'module.conf',
+ 'dep/packages.manifest',
+ 'dep/*/*/test',
+ 'dep/*/*/doc',
+ 'dep/*/*/demo',
+ 'dep/*/*/tool',
+ 'dep/*/*/*.md',
+ 'dep/*/*/package.json',
+ 'dep/echarts/*/src/util/mapData/rawData/china/*.js',
+ 'dep/echarts/*/src/util/mapData/rawData/*.js',
+ 'edp-*',
+ '.edpproj',
'.svn',
'.git',
'.gitignore',
diff --git a/module.conf b/module.conf
index 8d51ea9..1838b78 100644
--- a/module.conf
+++ b/module.conf
@@ -1,73 +1,73 @@
{
"baseUrl": "src",
"paths": {
- "tpl": "src/common/tpl",
- "js": "src/external/js"
+ "tpl": "common/tpl",
+ "js": "external/js"
},
"packages": [
{
"name": "ub-ria",
- "location": "dep/ub-ria/0.8.0-alpha.5/src",
+ "location": "../dep/ub-ria/0.8.0-alpha.5/src",
"main": "main"
},
{
"name": "er",
- "location": "dep/er/3.1.0-alpha.6/src",
+ "location": "../dep/er/3.1.0-alpha.6/src",
"main": "main"
},
{
"name": "mini-event",
- "location": "dep/mini-event/1.0.0/src",
+ "location": "../dep/mini-event/1.0.0/src",
"main": "main"
},
{
"name": "etpl",
- "location": "dep/etpl/2.0.10/src",
+ "location": "../dep/etpl/2.0.10/src",
"main": "main"
},
{
"name": "esui",
- "location": "dep/esui/3.1.0-alpha.8/src",
+ "location": "../dep/esui/3.1.0-alpha.8/src",
"main": "main"
},
{
"name": "underscore",
- "location": "dep/underscore/1.5.2/src",
+ "location": "../dep/underscore/1.5.2/src",
"main": "underscore"
},
{
"name": "moment",
- "location": "dep/moment/2.0.0/src",
+ "location": "../dep/moment/2.0.0/src",
"main": "moment"
},
{
"name": "ef",
- "location": "dep/ef/3.1.0-alpha.3/src",
+ "location": "../dep/ef/3.1.0-alpha.3/src",
"main": "main"
},
{
"name": "echarts",
- "location": "dep/echarts/1.3.6/src",
+ "location": "../dep/echarts/1.3.6/src",
"main": "echarts"
},
{
"name": "zrender",
- "location": "dep/zrender/1.0.8/src",
+ "location": "../dep/zrender/1.0.8/src",
"main": "zrender"
},
{
"name": "saber-cookie",
- "location": "dep/saber-cookie/0.1.0/src",
+ "location": "../dep/saber-cookie/0.1.0/src",
"main": "cookie"
},
{
"name": "er-track",
- "location": "dep/er-track/0.9.1/src",
+ "location": "../dep/er-track/0.9.1/src",
"main": "main"
},
{
"name": "est",
- "location": "dep/est/1.1.0/src"
+ "location": "../dep/est/1.1.0/src"
}
]
-}
\ No newline at end of file
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment