Skip to content

Commit 37cbe37

Browse files
committed
rename build to docs
1 parent e6a9eec commit 37cbe37

File tree

7 files changed

+11
-15
lines changed

7 files changed

+11
-15
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CFLAGS := -Wall -Wextra -O3 -s ALLOW_MEMORY_GROWTH=1 -s ASSERTIONS=2 -s SAFE_HE
44

55
# Directories
66
SRC_DIR := source
7-
BUILD_DIR := build
7+
BUILD_DIR := docs
88
INC_DIR := include
99

1010
# Source Files
204 KB
Binary file not shown.
File renamed without changes.

build/game_page/asteroid.js renamed to docs/game_page/asteroid.js

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (ENVIRONMENT_IS_NODE) {}
3131

3232
// --pre-jses are emitted after the Module integration code, so that they can
3333
// refer to Module (if they choose; they can also define Module)
34-
// include: /tmp/tmpio5bptca.js
34+
// include: /tmp/tmphek_q3b6.js
3535
Module["expectedDataFileDownloads"] ??= 0;
3636

3737
Module["expectedDataFileDownloads"]++;
@@ -50,7 +50,7 @@ Module["expectedDataFileDownloads"]++;
5050
// web worker
5151
PACKAGE_PATH = encodeURIComponent(location.pathname.substring(0, location.pathname.lastIndexOf("/")) + "/");
5252
}
53-
var PACKAGE_NAME = "build/game_page/asteroid.data";
53+
var PACKAGE_NAME = "docs/game_page/asteroid.data";
5454
var REMOTE_PACKAGE_BASE = "asteroid.data";
5555
var REMOTE_PACKAGE_NAME = Module["locateFile"] ? Module["locateFile"](REMOTE_PACKAGE_BASE, "") : REMOTE_PACKAGE_BASE;
5656
var REMOTE_PACKAGE_SIZE = metadata["remote_package_size"];
@@ -173,9 +173,9 @@ Module["expectedDataFileDownloads"]++;
173173
for (var i = 0; i < files.length; ++i) {
174174
DataRequest.prototype.requests[files[i].filename].onload();
175175
}
176-
Module["removeRunDependency"]("datafile_build/game_page/asteroid.data");
176+
Module["removeRunDependency"]("datafile_docs/game_page/asteroid.data");
177177
}
178-
Module["addRunDependency"]("datafile_build/game_page/asteroid.data");
178+
Module["addRunDependency"]("datafile_docs/game_page/asteroid.data");
179179
Module["preloadResults"] ??= {};
180180
Module["preloadResults"][PACKAGE_NAME] = {
181181
fromCache: false
@@ -215,32 +215,28 @@ Module["expectedDataFileDownloads"]++;
215215
"filename": "/misc/ship.png",
216216
"start": 177674,
217217
"end": 196610
218-
}, {
219-
"filename": "/misc/tp2.ml",
220-
"start": 196610,
221-
"end": 208940
222218
} ],
223-
"remote_package_size": 208940
219+
"remote_package_size": 196610
224220
});
225221
})();
226222

227-
// end include: /tmp/tmpio5bptca.js
228-
// include: /tmp/tmp9hb3zmvx.js
223+
// end include: /tmp/tmphek_q3b6.js
224+
// include: /tmp/tmpn3o11ehh.js
229225
// All the pre-js content up to here must remain later on, we need to run
230226
// it.
231227
if (Module["$ww"] || (typeof ENVIRONMENT_IS_PTHREAD != "undefined" && ENVIRONMENT_IS_PTHREAD)) Module["preRun"] = [];
232228

233229
var necessaryPreJSTasks = Module["preRun"].slice();
234230

235-
// end include: /tmp/tmp9hb3zmvx.js
236-
// include: /tmp/tmpa9ym3t67.js
231+
// end include: /tmp/tmpn3o11ehh.js
232+
// include: /tmp/tmp1l3u8n3i.js
237233
if (!Module["preRun"]) throw "Module.preRun should exist because file support used it; did a pre-js delete it?";
238234

239235
necessaryPreJSTasks.forEach(task => {
240236
if (Module["preRun"].indexOf(task) < 0) throw "All preRun tasks that exist before user pre-js code should remain after; did you replace Module or modify Module.preRun?";
241237
});
242238

243-
// end include: /tmp/tmpa9ym3t67.js
239+
// end include: /tmp/tmp1l3u8n3i.js
244240
// Sometimes an existing Module object exists with properties
245241
// meant to overwrite the default module functionality. Here
246242
// we collect those properties and reapply _after_ we configure
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)