Manage toolchain with pixi
Add pixi.toml (lpython 0.22, python, nodejs from conda-forge) with build, serve, test and install-playwright tasks, and commit pixi.lock. Drop the hand-rolled `setup` downloader; the build tool now takes lpython from PATH, builds several apps at once, and gains a `test` command that serves the repo on a free port and runs the Playwright test. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TeZL3vPsPVXbdcF1eH1HHU
This commit is contained in:
1 parent
21d1ef092a
commit
217c93a609
1 file changed
+1
-1
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// Browser smoke test for the example apps.
|
// Browser smoke test for the example apps.
|
||||||
// python3 tools/ultra.py serve & then node tests/e2e.cjs
|
// pixi run test (or: pixi run serve & then node tests/e2e.cjs)
|
||||||
const assert = require("assert");
|
const assert = require("assert");
|
||||||
const { chromium } = require(process.env.PLAYWRIGHT || "playwright");
|
const { chromium } = require(process.env.PLAYWRIGHT || "playwright");
|
||||||
const BASE = process.env.BASE || "http://localhost:8000";
|
const BASE = process.env.BASE || "http://localhost:8000";
|
||||||
|
|||||||
Reference in new issue
Block a user