Repository navigation
0.22.0: dist-web's page is the one distributable, and a runner named web serves it - #54
Open
Sunrisepeak wants to merge 4 commits into
Open
Sunrisepeak wants to merge 4 commits into
Sunrisepeak wants to merge 4 commits into
Conversation
…web serves it The page's step takes every copied file as an input, so the page is the format's one distributable and `mcpp run --pkg-format web' is handed it; 0.21.0 declared each copied file a distributable, and the engine refused to choose. The page's source is written to <out_dir>/.dist-web/<target>-<page>.in, not beside the build's outputs as <target>-index.html, where it was opened as the product and loaded nothing. When the directory is declared, a note names it and says how it is opened: a browser loads the module only over HTTP. `options::runner' (default true) declares a long-lived runner named `web': emrun from the resolved Emscripten toolchain (emrun.bat on Windows), given `--hostname localhost' and the page. `mcpp run --pkg-format web' serves the directory on this machine with the types a browser requires, opens the page, and serves until the operator ends it. Another browser, port or address is a machine's choice, made by replacing the runner in its config.toml. docs/dist.md states that link arguments are not a function of the package format: `mcpp pack' stages the program the build linked; a link difference is a profile's. tests/web-consumer asserts the one distributable, the note, the runner and what it serves.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The page's step takes every copied file as an input, so the page is the
format's one distributable and `mcpp run --pkg-format web' is handed it; 0.21.0
declared each copied file a distributable, and the engine refused to choose.
The page's source is written to <out_dir>/.dist-web/-.in, not
beside the build's outputs as -index.html, where it was opened as the
product and loaded nothing. When the directory is declared, a note names it
and says how it is opened: a browser loads the module only over HTTP.
options::runner' (default true) declares a long-lived runner namedweb':emrun from the resolved Emscripten toolchain (emrun.bat on Windows), given
--hostname localhost' and the page.mcpp run --pkg-format web' serves thedirectory on this machine with the types a browser requires, opens the page,
and serves until the operator ends it. Another browser, port or address is a
machine's choice, made by replacing the runner in its config.toml.
docs/dist.md states that link arguments are not a function of the package
format: `mcpp pack' stages the program the build linked; a link difference is
a profile's. tests/web-consumer asserts the one distributable, the note, the
runner and what it serves.