Skip to content

Commit e528847

Browse files
committed
keep demo/kitchein-sink folders location in the build
1 parent b42108a commit e528847

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

Makefile.dryice.js

+5-10
Original file line numberDiff line numberDiff line change
@@ -132,25 +132,20 @@ function demo() {
132132
);
133133
}
134134

135-
function fixDocPaths(data) {
136-
return data.replace(/"(demo|build)\//g, "\"");
137-
}
138-
139-
copy(ACE_HOME + "/demo/kitchen-sink", BUILD_DIR + "/kitchen-sink", {
135+
copy(ACE_HOME + "/demo/kitchen-sink", BUILD_DIR + "/demo/kitchen-sink", {
140136
shallow: true,
141-
replace: [changeComments, fixDocPaths],
137+
replace: [changeComments],
142138
include: /\.(css|html)$/
143139
});
144140

145-
copy(ACE_HOME +"/demo/kitchen-sink/docs/", BUILD_DIR + "/kitchen-sink/docs/");
141+
copy(ACE_HOME +"/demo/kitchen-sink/docs/", BUILD_DIR + "/demo/kitchen-sink/docs/");
146142

147-
copy.file(ACE_HOME + "/demo/kitchen-sink/logo.png", BUILD_DIR + "/kitchen-sink/logo.png");
143+
copy.file(ACE_HOME + "/demo/kitchen-sink/logo.png", BUILD_DIR + "/demo/kitchen-sink/logo.png");
148144

149145
buildSubmodule({}, {
150146
require: ["kitchen-sink/demo"],
151-
filters: [fixDocPaths],
152147
projectType: "demo"
153-
}, BUILD_DIR + "/kitchen-sink/demo");
148+
}, BUILD_DIR + "/demo/kitchen-sink/demo");
154149

155150
copy(ACE_HOME + "/demo/", BUILD_DIR + "/demo/", {
156151
shallow: true,

kitchen-sink.html

+2-8
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,10 @@
1111
commit %commit%
1212
-->
1313

14-
<!--DEVEL-->
15-
<link rel="stylesheet" href="demo/kitchen-sink/styles.css" type="text/css" media="screen" charset="utf-8">
16-
<script async="true" src="https://use.edgefonts.net/source-code-pro.js"></script>
17-
<!--DEVEL-->
14+
<link rel="stylesheet" href="demo/kitchen-sink/styles.css" type="text/css" media="screen" charset="utf-8">
15+
<script async="true" src="https://use.edgefonts.net/source-code-pro.js"></script>
1816

1917
<link href="./doc/site/images/favicon.ico" rel="icon" type="image/x-icon">
20-
<!--PACKAGE
21-
<link rel="stylesheet" href="kitchen-sink/styles.css" type="text/css" media="screen" charset="utf-8">
22-
<script async="true" src="https://use.edgefonts.net/source-code-pro.js"></script>
23-
PACKAGE-->
2418
</head>
2519
<body>
2620
<div id="optionsPanel" style="position:absolute;height:100%;width:260px">

0 commit comments

Comments
 (0)