Repository navigation
Build and deploy with the miso tool (setup-miso) - #33
Merged
Merged
Conversation
- miso.yml: the sampler as a project of the miso tool (MicroHs, no GHC), with its own index.html in miso-static/ (static/index.html loads the GHC build's index.js as a module). - README: building with the miso tool, and setup-miso in CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
miso tool (setup-miso)
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.
Makes the sampler a project of the miso tool, which builds it with MicroHs and no GHC. The site is then built in CI with setup-miso and deployed from that build.
miso.yml: the sampler as a miso project,target: browser, depending onmiso.app.cabaland the Makefile stay as they are for the GHC builds.miso-static/index.html: the page for the miso build.static/index.htmlloads the GHC build'sindex.jsas a module; this one loads it as a plain script, as the miso tool's templates do.setup-miso@v1in CI.Still to add:
.github/workflows/main.yml. The token used here can't push workflow files, so this needs one web edit. Add amisojob that runshaskell-miso/setup-miso@v1and uploadspublic/; move the Pages upload out ofbuild; makedeployneedmiso.🤖 Generated with Claude Code