Moved out of codegod100/ultra with its history (examples/launcher is now web/). ultra is a git submodule; pixi tasks build web/app.wasm with it and run the browser test. CI runs that test and builds the APK, signed with the same committed debug key, and republishes the launcher-latest release. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011TQdaz3C1f3xEJM6PFzWE6
18 lines
974 B
TOML
18 lines
974 B
TOML
[workspace]
|
|
name = "launcher"
|
|
description = "Android home-screen launcher written as an ultra app (LPython -> wasm)"
|
|
channels = ["https://conda.anaconda.org/conda-forge"]
|
|
platforms = ["linux-64", "osx-64", "osx-arm64", "win-64"]
|
|
|
|
[dependencies]
|
|
python = "3.12.*"
|
|
lpython = "0.22.*"
|
|
nodejs = ">=22"
|
|
|
|
# The ultra framework is the git submodule in ultra/ (`git submodule update --init`).
|
|
[tasks]
|
|
build = { cmd = "python ultra/tools/ultra.py build web/app.py", description = "Compile web/app.py to web/app.wasm" }
|
|
serve = { cmd = "python ultra/tools/ultra.py 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" }
|