-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
180 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,25 @@ | ||
(executables | ||
(names boulderdash) | ||
(libraries js_of_ocaml-lwt) | ||
(modes byte) | ||
(modes js wasm) | ||
(js_of_ocaml | ||
(flags :standard --file %{dep:maps.txt} --file maps)) | ||
(link_deps | ||
(glob_files maps/*.map)) | ||
(preprocess | ||
(pps js_of_ocaml-ppx))) | ||
|
||
(rule | ||
(targets boulderdash.js) | ||
(deps | ||
(glob_files maps/*.map)) | ||
(action | ||
(run | ||
%{bin:js_of_ocaml} | ||
--source-map | ||
%{dep:boulderdash.bc} | ||
-o | ||
%{targets} | ||
--pretty | ||
--file | ||
%{dep:maps.txt} | ||
--file | ||
maps))) | ||
(copy boulderdash.bc.wasm.js boulderdash.bc.js)) | ||
(enabled_if | ||
(not %{env:js-enabled=}))) | ||
|
||
(alias | ||
(name default) | ||
(deps | ||
boulderdash.js | ||
boulderdash.bc.js | ||
index.html | ||
maps.txt | ||
(glob_files maps/*.map) | ||
(glob_files sprites/*.{png,svg}))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,16 @@ | ||
(executables | ||
(names cubes) | ||
(libraries js_of_ocaml-lwt) | ||
(modes byte) | ||
(modes js wasm) | ||
(preprocess | ||
(pps js_of_ocaml-ppx))) | ||
|
||
(rule | ||
(targets cubes.js) | ||
(action | ||
(run | ||
%{bin:js_of_ocaml} | ||
--source-map | ||
%{dep:cubes.bc} | ||
-o | ||
%{targets} | ||
--pretty))) | ||
(copy cubes.bc.wasm.js cubes.bc.js)) | ||
(enabled_if | ||
(not %{env:js-enabled=}))) | ||
|
||
(alias | ||
(name default) | ||
(deps cubes.js index.html)) | ||
(deps cubes.bc.js index.html)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
(executables | ||
(names hypertree) | ||
(libraries js_of_ocaml-lwt) | ||
(modes byte) | ||
(preprocess | ||
(pps js_of_ocaml-ppx))) | ||
|
||
(rule | ||
(targets hypertree.js) | ||
(action | ||
(run | ||
%{bin:js_of_ocaml} | ||
--source-map | ||
%{dep:hypertree.bc} | ||
-o | ||
%{targets} | ||
--pretty | ||
(modes js wasm) | ||
(js_of_ocaml | ||
(flags | ||
:standard | ||
--file | ||
%{dep:image_info.json} | ||
--file | ||
%{dep:messages.json} | ||
--file | ||
%{dep:tree.json}))) | ||
%{dep:tree.json})) | ||
(preprocess | ||
(pps js_of_ocaml-ppx js_of_ocaml-ppx_deriving_json))) | ||
|
||
(rule | ||
(action | ||
(copy hypertree.bc.wasm.js hypertree.bc.js)) | ||
(enabled_if | ||
(not %{env:js-enabled=}))) | ||
|
||
(alias | ||
(name default) | ||
(deps | ||
hypertree.js | ||
hypertree.bc.js | ||
index.html | ||
image_info.json | ||
messages.json | ||
tree.json | ||
(glob_files icons/*.{png,jpg}) | ||
(glob_files thumbnails/*.{png,jpg}))) |
Oops, something went wrong.