Replace snap-installed Chromium/chromedriver with Chrome for Testing installed via npx @puppeteer/browsers. Binaries live in $MISE_DATA_DIR/chrome-for-testing/ with version-agnostic path lookup. Add install-e2e mise task and required apt packages to README and CI.
959 B
959 B
Development Setup
Install mise then set up the development environment:
sudo apt update
sudo apt install -y clang mold pkg-config libssl-dev \
libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 \
libxcomposite1 libxdamage1 libxrandr2 libgbm1 libpango-1.0-0 \
libcairo2 libasound2t64 libnss3 libxshmfence1
mise trust
mise install # Install all dev tools
mise run install-e2e # Install Chrome for Testing + ChromeDriver
prek install # Install git hooks
Contributing
prek run -av # Run all lints, tests, formatters
mise run fmt # Format all files
mise run check # Full CI validation (fmt + lint + test)
mise run test # Run all tests
cargo build # Build
See CLAUDE.md for architecture, code patterns, and development conventions.