fix packaging and re-add packaged demo

This commit is contained in:
Fabian Jakobs 2011-01-10 13:21:12 +01:00
commit 8e85ac83ab
4 changed files with 227 additions and 6 deletions

View file

@ -1,7 +1,14 @@
{
baseUrl: "./lib",
baseUrl: "lib",
dir: "build",
paths: {
"ace": "ace",
"demo": "../demo",
"cockpit": "../support/cockpit/lib/cockpit",
"pilot": "../support/cockpit/support/pilot/lib/pilot"
},
//- "closure": uses Google's Closure Compiler in simple optimization
//mode to minify the code.
//- "closure.keepLines": Same as closure option, but keeps line returns
@ -23,6 +30,13 @@
skipModuleInsertion: false,
modules: [
{
name: "demo/startup",
includeRequire: false,
include: [
"pilot/fixoldbrowsers"
]
},
{
name: "ace/editor",
include: [
@ -35,7 +49,6 @@
],
includeRequire: false
},
{
name: "ace/theme/eclipse",
exclude: [
@ -77,8 +90,8 @@
{
name: "ace/mode/python",
exclude: [
"ace/lib/oop",
"ace/lib/lang",
"pilot/oop",
"pilot/lang",
"ace/tokenizer",
"ace/range",
"ace/mode/text"