Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web applications part 1 (Browser.sandbox) #730

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

ceddlyburge
Copy link
Contributor

@ceddlyburge ceddlyburge commented Feb 22, 2025

Fixes #639

Replaces the previous draft PR #723 where there is a lot of discussion about how and what to do.

I'll do the introduction.mds from about once people are happy with it.

We could also add a css file so that it looks a bit nicer if you run it locally, but not sure if its worth it.

At the moment the test runner is failing, which took me a little head scratching. Its because the test runner doesn't have the dependencies installed I think (although I thought it would have, as html was already an indirect dependency, but anyway).

So we need to do a new release of the elm-test-runner, but its gets its dependencies from the template/elm.json file in this repo
(https://github.com/exercism/elm-test-runner/blob/8262e8e15c86773353e61a969e9ffaa7af53dc3c/Dockerfile#L29)

So maybe I should create a new PR in this repo, just updating the template/elm.json (and all the other elm.json's), which would hopefully pass, then create a new release of the test runner, which would use the new file, and then come back to this PR.

I'm happy to hear other thoughts? Seems like something we should document for next time.

Still need to create introduction.mdonce about.md has been through review
Its numbers and not letters, but not too bad
Now it handles the case when the name of the primary file (src/Main.elm) doesn't match the solution name.
This is a good convention, but doesn't work for the web applications concept where the primary file must be called Main.elm to work with elm-test and elm-make and similar
Not sure it is going to work though
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Concept - Web applications part 1
1 participant