Rewrite the launcher in MoonBit (old code moves to legacy/) (#1)
This commit was merged in pull request #1.
This commit is contained in:
1 parent
7d2bf5996f
commit
2fa7bd745b
150 files changed
+8319
-462
No files matched your search
@@ -0,0 +1,17 @@
|
||||
[workspace]
|
||||
name = "launcher"
|
||||
description = "Android home-screen launcher written as an ultra app (LPython -> wasm)"
|
||||
channels = ["https://conda.anaconda.org/conda-forge", "https://prefix.dev/nandi-testing"]
|
||||
platforms = ["linux-64", "osx-64", "osx-arm64", "win-64"]
|
||||
|
||||
# ultra (the framework and its `ultra` build CLI, with lpython) comes from prefix.dev/nandi-testing.
|
||||
[dependencies]
|
||||
python = "3.12.*"
|
||||
ultra = ">=0.1.19"
|
||||
nodejs = ">=22"
|
||||
|
||||
[tasks]
|
||||
build = { cmd = "ultra build web/app.py", description = "Compile web/app.py to web/app.wasm" }
|
||||
serve = { cmd = "ultra serve web", description = "Serve the launcher's browser demo on http://localhost:8000" }
|
||||
install-playwright = { cmd = "npm install --no-save --no-package-lock playwright@1.56.1 && npx playwright install chromium", description = "Fetch Playwright and Chromium for the browser test" }
|
||||
test = { cmd = "python tests/run.py", depends-on = ["build"], description = "Build, then run the browser test against a local server" }
|
||||
Reference in new issue
Block a user