-
Notifications
You must be signed in to change notification settings - Fork 11
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
Test both tinygo and standard go #17
Conversation
You can pull my changes on |
Separating example into a different module makes life harder, without significant benefits.
The new code should work with both Go and TinyGo. Also move, then main.go to separate folders, that way different IDE-s and tools work with them better.
@bhelx note I've rebased the code. |
@nilslice If they need to be downloaded one option would be to make them part of a release. (Rather than part of the source code) |
Yea that's preferable -- especially since Go will pull down all of this into the system cache including the wasm. |
Having the wasm modules in the repo is convenient, but can be pretty annoying to work with in git. Moving them to a release instead is a good idea! |
Do you want me to add the release thing in this PR or in a separate one? |
@egonelbre this looks good to me! Let's do follow ups in other PRs |
This adds tests for both std go and tinygo.
It also does some project cleanup:
.wasm
files, because it looks like it's not necessary to commit them.work
file and example submodule, because they cause more problems than they solve (in this case)