diff --git a/Makefile b/Makefile
index b6c48d63..33e1d4e2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,11 @@
build:
mkdir -p build/src
+ mkdir -p build/demo
mkdir -p build/textarea/src
+
+ cp demo/styles.css build/demo/styles.css
+ cp demo/logo.png build/demo/logo.png
+
./Makefile.dryice.js normal
./Makefile.dryice.js bm
diff --git a/Makefile.dryice.js b/Makefile.dryice.js
index d317409c..a25c7b02 100755
--- a/Makefile.dryice.js
+++ b/Makefile.dryice.js
@@ -80,7 +80,9 @@ console.log('# ace ---------');
var aceProject = [
aceHome + '/support/pilot/lib',
- aceHome + '/lib'
+ aceHome + '/support/cockpit/lib',
+ aceHome + '/lib',
+ aceHome
];
if (target == "normal") {
@@ -90,6 +92,8 @@ if (target == "normal") {
source: "build_support/editor.html",
dest: targetDir + '/editor.html'
});
+
+ demo();
} else if(target == "bm") {
copy({
source: "build_support/editor_textarea.html",
@@ -309,7 +313,6 @@ project.assumeAllFilesLoaded();
console.log('# cockpit ---------');
project.assumeAllFilesLoaded();
-project.addRoot(aceHome + '/support/cockpit/lib');
var cockpit = copy.createDataObject();
copy({
@@ -350,4 +353,67 @@ copy({
copy({
source: cockpit,
dest: 'build/src/cockpit-uncompressed.js'
-});
\ No newline at end of file
+});
+
+function demo() {
+ console.log('# kitchen sink ---------');
+
+ copy({
+ source: "index.html",
+ dest: "build/kitchen-sink.html",
+ filter: [ function(data) {
+ return (data
+ .replace("DEVEL-->", "")
+ .replace("", "")
+ .replace("
+
+
+
+